summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2010-02-19 14:07:31 (GMT)
committerLars Knoll <lars.knoll@nokia.com>2010-02-19 15:06:53 (GMT)
commit0a7816943b11bb0338ee2cf880382825185058b4 (patch)
treeaf4053e253afffe0345117feeab0e5087923e500
parentfb5a1ad19109fe0eb88a84dd5e4b86c9849b90e6 (diff)
downloadQt-0a7816943b11bb0338ee2cf880382825185058b4.zip
Qt-0a7816943b11bb0338ee2cf880382825185058b4.tar.gz
Qt-0a7816943b11bb0338ee2cf880382825185058b4.tar.bz2
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
-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 319c4b0..adc4fc1 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