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/doclnkitem.cpp') diff --git a/core/pim/osearch/doclnkitem.cpp b/core/pim/osearch/doclnkitem.cpp index 04d08ca..95402b9 100644 --- a/core/pim/osearch/doclnkitem.cpp +++ b/core/pim/osearch/doclnkitem.cpp @@ -35,6 +35,7 @@ QString DocLnkItem::toRichText() text += "

" + _doc->name() + "


"; text += _doc->comment() + "
"; text += "File: " + _doc->file() + "
"; + text += "Link: " + _doc->linkFile() + "
"; text += "Mimetype: " + _doc->type() + "
"; if ( _doc->type().contains( "text" ) ){ text += "



"; @@ -63,12 +64,8 @@ void DocLnkItem::action( int act ) if (!_doc->isValid()) qDebug("INVALID"); if (act == 0) _doc->execute(); else if (act == 1){ - QFileInfo file( _doc->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 << _doc->file(); + e << _doc->file(); } } -- cgit v0.9.0.2