author | drw <drw> | 2004-04-02 21:24:41 (UTC) |
---|---|---|
committer | drw <drw> | 2004-04-02 21:24:41 (UTC) |
commit | ebe03c3cd5d2bc1e1ae94f123da7ab27b2188f6a (patch) (side-by-side diff) | |
tree | 2b642af98abf3825cca6aef0f2adfb0934634e76 /core/pim/osearch/applnkitem.cpp | |
parent | 8b67cce78d89fdbb5c2a70f257aaef0e8162d767 (diff) | |
download | opie-ebe03c3cd5d2bc1e1ae94f123da7ab27b2188f6a.zip opie-ebe03c3cd5d2bc1e1ae94f123da7ab27b2188f6a.tar.gz opie-ebe03c3cd5d2bc1e1ae94f123da7ab27b2188f6a.tar.bz2 |
Use ODebug (another 7 down...)
Diffstat (limited to 'core/pim/osearch/applnkitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/applnkitem.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/pim/osearch/applnkitem.cpp b/core/pim/osearch/applnkitem.cpp index 19e765e..ca54eef 100644 --- a/core/pim/osearch/applnkitem.cpp +++ b/core/pim/osearch/applnkitem.cpp @@ -3,28 +3,29 @@ // C++ Implementation: $MODULE$ // // Description: // // // Author: Patrick S. Vogt <tille@handhelds.org>, (C) 2003 // // Copyright: See COPYING file that comes with this distribution // // #include "applnkitem.h" +#include <opie2/odebug.h> + #include <qpe/applnk.h> #include <qpe/qcopenvelope_qws.h> - AppLnkItem::AppLnkItem(OListViewItem* parent, AppLnk *app) : ResultItem(parent) { _app = app; setText(0, _app->name() ); setPixmap(0, _app->pixmap() ); } AppLnkItem::~AppLnkItem() { } @@ -34,25 +35,25 @@ QString AppLnkItem::toRichText() { QString text; text += "<b><h3>" + _app->name() + "</b></h3><br>"; text += _app->comment() + "<br>"; text += "<br>`" + _app->exec() + "`<br>"; text += "<br>`" + _app->file() + "`<br>"; text += "<br>`" + _app->linkFile() + "`<br>"; return text; } void AppLnkItem::action( int act ) { - if (!_app->isValid()) qDebug("INVALID"); + if (!_app->isValid()) Opie::Core::odebug << "INVALID" << oendl; if (act == 0) _app->execute(); else if (act == 1){ QCopEnvelope e("QPE/Application/advancedfm", "setDocument(QString)"); e << _app->linkFile(); } } QIntDict<QString> AppLnkItem::actions() { QIntDict<QString> result; result.insert( 0, new QString( QObject::tr("execute") ) ); result.insert( 1, new QString( QObject::tr("open in filemanager") ) ); |