summaryrefslogtreecommitdiffstats
path: root/ktnef/ktnef/ktnefpropertyset.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /ktnef/ktnef/ktnefpropertyset.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktnef/ktnef/ktnefpropertyset.h')
-rw-r--r--ktnef/ktnef/ktnefpropertyset.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/ktnef/ktnef/ktnefpropertyset.h b/ktnef/ktnef/ktnefpropertyset.h
index 387acbd3..841cf950 100644
--- a/ktnef/ktnef/ktnefpropertyset.h
+++ b/ktnef/ktnef/ktnefpropertyset.h
@@ -18,8 +18,8 @@
#ifndef KTNEFPROPERTYSET_H
#define KTNEFPROPERTYSET_H
-#include <qmap.h>
-#include <qvariant.h>
+#include <tqmap.h>
+#include <tqvariant.h>
#include <kdepimmacros.h>
class KTNEFProperty;
@@ -31,24 +31,24 @@ public:
~KTNEFPropertySet();
/* MAPI properties interface */
- void addProperty( int key, int type, const QVariant& value, const QVariant& name = QVariant(), bool overwrite = false );
- QString findProp( int key, const QString& fallback=QString::null, bool convertToUpper=false);
- QString findNamedProp(const QString& name, const QString& fallback=QString::null, bool convertToUpper=false);
- QMap<int,KTNEFProperty*>& properties();
- const QMap<int,KTNEFProperty*>& properties() const;
- QVariant property( int key ) const;
+ 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);
+ TQMap<int,KTNEFProperty*>& properties();
+ const TQMap<int,KTNEFProperty*>& properties() const;
+ TQVariant property( int key ) const;
/* TNEF attributes interface */
- void addAttribute( int key, int type, const QVariant& value, bool overwrite = false );
- QMap<int,KTNEFProperty*>& attributes();
- const QMap<int,KTNEFProperty*>& attributes() const;
- QVariant attribute( int key ) const;
+ void addAttribute( int key, int type, const TQVariant& value, bool overwrite = false );
+ TQMap<int,KTNEFProperty*>& attributes();
+ const TQMap<int,KTNEFProperty*>& attributes() const;
+ TQVariant attribute( int key ) const;
void clear( bool deleteAll = false );
private:
- QMap<int,KTNEFProperty*> properties_; /* used to store MAPI properties */
- QMap<int,KTNEFProperty*> attributes_; /* used to store TNEF attributes */
+ TQMap<int,KTNEFProperty*> properties_; /* used to store MAPI properties */
+ TQMap<int,KTNEFProperty*> attributes_; /* used to store TNEF attributes */
};
#endif /* KTNEFPROPERTYSET_H */