summaryrefslogtreecommitdiffstats
path: root/ktnef/ktnef
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /ktnef/ktnef
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktnef/ktnef')
-rw-r--r--ktnef/ktnef/ktnefdefs.h2
-rw-r--r--ktnef/ktnef/ktnefparser.h2
-rw-r--r--ktnef/ktnef/ktnefpropertyset.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/ktnef/ktnef/ktnefdefs.h b/ktnef/ktnef/ktnefdefs.h
index d2e57aa5..06ec3bdb 100644
--- a/ktnef/ktnef/ktnefdefs.h
+++ b/ktnef/ktnef/ktnefdefs.h
@@ -85,7 +85,7 @@
#define MAPI_TAG_DATA 0x3701
#define MAPI_TAG_ATTACHENCODING 0x3702
#define MAPI_TAG_EXTENSION 0x3703
-#define MAPI_TAG_ATTACHQT_METHOD 0x3705
+#define MAPI_TAG_ATTACHTQT_METHOD 0x3705
#define MAPI_TAG_RENDERINGPOS 0x370b
#define MAPI_TAG_MIMETAG 0x370e
#define MAPI_TAG_ATTACHFLAGS 0x3714
diff --git a/ktnef/ktnef/ktnefparser.h b/ktnef/ktnef/ktnefparser.h
index ff48ab08..06754df5 100644
--- a/ktnef/ktnef/ktnefparser.h
+++ b/ktnef/ktnef/ktnefparser.h
@@ -34,7 +34,7 @@ public:
~KTNEFParser();
bool openFile(const TQString& filename);
- bool openDevice( TQIODevice *device );
+ bool openDevice( TQIODevice *tqdevice );
bool extractFile(const TQString& filename);
bool extractFileTo(const TQString& filename, const TQString& dirname);
bool extractAll();
diff --git a/ktnef/ktnef/ktnefpropertyset.h b/ktnef/ktnef/ktnefpropertyset.h
index 841cf950..6a5ec75a 100644
--- a/ktnef/ktnef/ktnefpropertyset.h
+++ b/ktnef/ktnef/ktnefpropertyset.h
@@ -32,8 +32,8 @@ public:
/* MAPI properties interface */
void addProperty( int key, int type, const TQVariant& value, const TQVariant& name = TQVariant(), bool overwrite = false );
- TQString findProp( int key, const TQString& fallback=TQString::null, bool convertToUpper=false);
- TQString findNamedProp(const TQString& name, const TQString& fallback=TQString::null, bool convertToUpper=false);
+ TQString findProp( int key, const TQString& fallback=TQString(), bool convertToUpper=false);
+ TQString findNamedProp(const TQString& name, const TQString& fallback=TQString(), bool convertToUpper=false);
TQMap<int,KTNEFProperty*>& properties();
const TQMap<int,KTNEFProperty*>& properties() const;
TQVariant property( int key ) const;