summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/gui/mainwindow.cpp
Side-by-side diff
Diffstat (limited to 'noncore/graphics/opie-eye/gui/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/gui/mainwindow.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.cpp b/noncore/graphics/opie-eye/gui/mainwindow.cpp
index 21a668a..3650493 100644
--- a/noncore/graphics/opie-eye/gui/mainwindow.cpp
+++ b/noncore/graphics/opie-eye/gui/mainwindow.cpp
@@ -23,2 +23,3 @@
#include <qpe/ir.h>
+#include <qpe/applnk.h>
@@ -283 +284,10 @@ void PMainWindow::raiseIconView() {
}
+
+void PMainWindow::setDocument( const QString& showImg ) {
+ QString file = showImg;
+ DocLnk lnk(showImg);
+ if (lnk.isValid() )
+ file = lnk.file();
+
+ slotDisplay( file );
+}