summaryrefslogtreecommitdiff
path: root/src/gui/util
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2010-02-19 15:07:31 +0100
committerLars Knoll <lars.knoll@nokia.com>2010-02-19 16:06:53 +0100
commit0a7816943b11bb0338ee2cf880382825185058b4 (patch)
treeaf4053e253afffe0345117feeab0e5087923e500 /src/gui/util
parentfb5a1ad19109fe0eb88a84dd5e4b86c9849b90e6 (diff)
downloadqt4-tools-0a7816943b11bb0338ee2cf880382825185058b4.tar.gz
Get rid of the dependency on the Symbian app layer
miutset.h is coming from the app layer that we are not supposed to use. Since we still need the constant we're better off working around the dependency and to forward declare the one constant we need from the file. Reviewed-By: Iain
Diffstat (limited to 'src/gui/util')
-rw-r--r--src/gui/util/qdesktopservices_s60.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/util/qdesktopservices_s60.cpp b/src/gui/util/qdesktopservices_s60.cpp
index 319c4b0c6b..adc4fc1764 100644
--- a/src/gui/util/qdesktopservices_s60.cpp
+++ b/src/gui/util/qdesktopservices_s60.cpp
@@ -48,7 +48,6 @@
#include <qurl.h>
#include <private/qcore_symbian_p.h>
-#include <miutset.h> // KUidMsgTypeSMTP
#include <txtrich.h> // CRichText
#include <f32file.h> // TDriveUnit etc
#include <eikenv.h> // CEikonEnv
@@ -57,6 +56,9 @@
#include <rsendas.h> // RSendAs
#include <rsendasmessage.h> // RSendAsMessage
+// copied from miutset.h, so we don't get a dependency into the app layer
+const TUid KUidMsgTypeSMTP = {0x10001028}; // 268439592
+
#ifdef Q_WS_S60
# include <pathinfo.h> // PathInfo
# ifdef USE_DOCUMENTHANDLER