author | tille <tille> | 2003-05-12 17:02:40 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-12 17:02:40 (UTC) |
commit | 21157bf1102d428cebc9d8c80eb5c15b0a311328 (patch) (side-by-side diff) | |
tree | 554fdb58a7ee3bd8dceec050207bc1ea7fc8fe3a /core/pim/osearch/applnkitem.cpp | |
parent | 8a87ca1f7de6a205b47986db8ad4a082f39b9c34 (diff) | |
download | opie-21157bf1102d428cebc9d8c80eb5c15b0a311328.zip opie-21157bf1102d428cebc9d8c80eb5c15b0a311328.tar.gz opie-21157bf1102d428cebc9d8c80eb5c15b0a311328.tar.bz2 |
added support for advfm
Diffstat (limited to 'core/pim/osearch/applnkitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/applnkitem.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/core/pim/osearch/applnkitem.cpp b/core/pim/osearch/applnkitem.cpp index 1e7b1fb..0d04be6 100644 --- a/core/pim/osearch/applnkitem.cpp +++ b/core/pim/osearch/applnkitem.cpp @@ -32,26 +32,24 @@ AppLnkItem::~AppLnkItem() 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 (act == 0) _app->execute(); else if (act == 1){ - QFileInfo file( _app->file() ); - qDebug("opening %s in filemanager", file.dirPath().latin1()); QCopEnvelope e("QPE/Application/advancedfm", "setDocument(QString)"); - e << file.dirPath(); -// QCopEnvelope e("QPE/Application/advancedfm", "setDocument(QString)"); - // e << _app->file(); + e << _app->linkFile(); } } QIntDict<QString> AppLnkItem::actions() { QIntDict<QString> result; |