From 21157bf1102d428cebc9d8c80eb5c15b0a311328 Mon Sep 17 00:00:00 2001 From: tille Date: Mon, 12 May 2003 17:02:40 +0000 Subject: added support for advfm --- (limited to 'core/pim/osearch/applnkitem.cpp') 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 @@ -35,6 +35,8 @@ QString AppLnkItem::toRichText() text += "

" + _app->name() + "


"; text += _app->comment() + "
"; text += "
`" + _app->exec() + "`
"; + text += "
`" + _app->file() + "`
"; + text += "
`" + _app->linkFile() + "`
"; return text; } @@ -43,12 +45,8 @@ 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(); } } -- cgit v0.9.0.2