diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kresources/lib/folderlister.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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 'kresources/lib/folderlister.h')
-rw-r--r-- | kresources/lib/folderlister.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kresources/lib/folderlister.h b/kresources/lib/folderlister.h index c8a70ef10..f2f19d10e 100644 --- a/kresources/lib/folderlister.h +++ b/kresources/lib/folderlister.h @@ -28,10 +28,10 @@ #include <kurl.h> #include <kdepimmacros.h> -#include <qvaluelist.h> -#include <qstring.h> -#include <qstringlist.h> -#include <qobject.h> +#include <tqvaluelist.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqobject.h> namespace KIO { class Job; @@ -62,17 +62,17 @@ class KDE_EXPORT FolderLister : public QObject public: Entry() : active( false ) {} - typedef QValueList<Entry> List; + typedef TQValueList<Entry> List; - QString id; - QString name; + TQString id; + TQString name; ContentType type; bool active; }; - static QStringList contentTypeToStrings( ContentType ); - ContentType contentTypeFromString( const QString &type ); + static TQStringList contentTypeToStrings( ContentType ); + ContentType contentTypeFromString( const TQString &type ); - QValueList<ContentType> supportedTypes(); + TQValueList<ContentType> supportedTypes(); FolderLister( Type ); @@ -86,10 +86,10 @@ class KDE_EXPORT FolderLister : public QObject GroupwareDataAdaptor* adaptor() const { return mAdaptor; } KURL::List activeFolderIds() const; - bool isActive( const QString &id ) const; + bool isActive( const TQString &id ) const; - void setWriteDestinationId( KPIM::FolderLister::ContentType type, const QString &dest ); - QString writeDestinationId( KPIM::FolderLister::ContentType type ) const; + void setWriteDestinationId( KPIM::FolderLister::ContentType type, const TQString &dest ); + TQString writeDestinationId( KPIM::FolderLister::ContentType type ) const; void readConfig( KPIM::GroupwarePrefsBase *newprefs ); void writeConfig( KPIM::GroupwarePrefsBase *newprefs ); @@ -103,7 +103,7 @@ class KDE_EXPORT FolderLister : public QObject /** Adds the folder with the given url and display name to the folder * tree (if is has an appropriate type) */ virtual void processFolderResult( const KURL &href, - const QString &displayName, + const TQString &displayName, KPIM::FolderLister::ContentType type ); /** Retrieve information about the folder u. If it has sub-folders, it descends into the hierarchy */ @@ -136,12 +136,12 @@ class KDE_EXPORT FolderLister : public QObject protected: Type mType; KURL::List mUrls; - QStringList mProcessedPathes; + TQStringList mProcessedPathes; Entry::List mFolders; GroupwareDataAdaptor *mAdaptor; private: // TODO: We need multiple destinations for Events, Tasks and Journals - QMap<KPIM::FolderLister::ContentType, QString> mWriteDestinationId; + TQMap<KPIM::FolderLister::ContentType, TQString> mWriteDestinationId; KURL mOldURL; }; |