summaryrefslogtreecommitdiffstats
path: root/kresources/lib/folderlister.h
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/lib/folderlister.h')
-rw-r--r--kresources/lib/folderlister.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kresources/lib/folderlister.h b/kresources/lib/folderlister.h
index c8a70ef1..f2f19d10 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;
};