summaryrefslogtreecommitdiff
path: root/demos/embedded/desktopservices/linktab.h
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-06-15 10:28:31 +0300
committerJanne Anttila <janne.anttila@digia.com>2009-06-15 10:28:31 +0300
commita612366300aef70d2574b3f738afebdb106f1214 (patch)
treed86fce2c281ce98873fd1a41216ebc1ba95c5b09 /demos/embedded/desktopservices/linktab.h
parent9b34c6dffcb19664e336d4b51092e042e861f475 (diff)
downloadqt4-tools-a612366300aef70d2574b3f738afebdb106f1214.tar.gz
Added error handling to qdesktopservices example when openUrl fails.
Now qdesktopservices example will show message box if openUrl call fails i.e. returns false.
Diffstat (limited to 'demos/embedded/desktopservices/linktab.h')
-rw-r--r--demos/embedded/desktopservices/linktab.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/embedded/desktopservices/linktab.h b/demos/embedded/desktopservices/linktab.h
index 2ce1094501..a9c986804c 100644
--- a/demos/embedded/desktopservices/linktab.h
+++ b/demos/embedded/desktopservices/linktab.h
@@ -71,6 +71,7 @@ public: // Constructors & Destructors
protected: // Derived Methods
virtual void populateListWidget();
virtual QUrl itemUrl(QListWidgetItem *item);
+ virtual void handleErrorInOpen(QListWidgetItem *item);
private: // Used variables
QListWidgetItem *m_WebItem;