summaryrefslogtreecommitdiff
path: root/core/pim/osearch/doclnkitem.cpp
Unidiff
Diffstat (limited to 'core/pim/osearch/doclnkitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/doclnkitem.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/pim/osearch/doclnkitem.cpp b/core/pim/osearch/doclnkitem.cpp
index df8e856..d908f7c 100644
--- a/core/pim/osearch/doclnkitem.cpp
+++ b/core/pim/osearch/doclnkitem.cpp
@@ -9,12 +9,14 @@
9// 9//
10// Copyright: See COPYING file that comes with this distribution 10// Copyright: See COPYING file that comes with this distribution
11// 11//
12// 12//
13#include "doclnkitem.h" 13#include "doclnkitem.h"
14 14
15#include <opie2/odebug.h>
16
15#include <qpe/applnk.h> 17#include <qpe/applnk.h>
16#include <qpe/qcopenvelope_qws.h> 18#include <qpe/qcopenvelope_qws.h>
17 19
18#include <qtextstream.h> 20#include <qtextstream.h>
19#include <qfileinfo.h> 21#include <qfileinfo.h>
20 22
@@ -58,14 +60,14 @@ QString DocLnkItem::toRichText()
58 } 60 }
59 return text; 61 return text;
60} 62}
61 63
62void DocLnkItem::action( int act ) 64void DocLnkItem::action( int act )
63{ 65{
64 qDebug("action %i",act); 66 Opie::Core::odebug << "action" << act << oendl;
65 if (!_doc->isValid()) qDebug("INVALID"); 67 if (!_doc->isValid()) Opie::Core::odebug << "INVALID" << oendl;
66 if (act == 0) _doc->execute(); 68 if (act == 0) _doc->execute();
67 else if (act == 1){ 69 else if (act == 1){
68 QCopEnvelope e("QPE/Application/advancedfm", "setDocument(QString)"); 70 QCopEnvelope e("QPE/Application/advancedfm", "setDocument(QString)");
69 e << _doc->file(); 71 e << _doc->file();
70 } 72 }
71} 73}