summaryrefslogtreecommitdiffstats
path: root/konq-plugins/dirfilter/dirfilterplugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/dirfilter/dirfilterplugin.h')
-rw-r--r--konq-plugins/dirfilter/dirfilterplugin.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/konq-plugins/dirfilter/dirfilterplugin.h b/konq-plugins/dirfilter/dirfilterplugin.h
index c1313be..ff3497e 100644
--- a/konq-plugins/dirfilter/dirfilterplugin.h
+++ b/konq-plugins/dirfilter/dirfilterplugin.h
@@ -19,9 +19,9 @@
#ifndef __DIR_FILTER_PLUGIN_H
#define __DIR_FILTER_PLUGIN_H
-#include <qmap.h>
-#include <qtimer.h>
-#include <qstringlist.h>
+#include <tqmap.h>
+#include <tqtimer.h>
+#include <tqstringlist.h>
#include <kurl.h>
@@ -50,17 +50,17 @@ public:
~SessionManager ();
static SessionManager* self ();
- QStringList restoreMimeFilters (const KURL& url) const;
- QString restoreTypedFilter(const KURL& url) const;
- void save (const KURL& url, const QStringList& filters);
- void save (const KURL& url, const QString& typedFilter);
+ TQStringList restoreMimeFilters (const KURL& url) const;
+ TQString restoreTypedFilter(const KURL& url) const;
+ void save (const KURL& url, const TQStringList& filters);
+ void save (const KURL& url, const TQString& typedFilter);
bool showCount;
bool useMultipleFilters;
protected:
- QString generateKey (const KURL& url) const;
+ TQString generateKey (const KURL& url) const;
void loadSettings ();
void saveSettings ();
@@ -73,8 +73,8 @@ private:
int m_pid;
bool m_bSettingsLoaded;
static SessionManager* m_self;
- QMap<QString,QStringList> m_filters;
- QMap<QString,QString> m_typedFilter;
+ TQMap<TQString,TQStringList> m_filters;
+ TQMap<TQString,TQString> m_typedFilter;
};
@@ -84,7 +84,7 @@ class DirFilterPlugin : public KParts::Plugin
public:
- DirFilterPlugin (QObject* parent, const char* name, const QStringList &);
+ DirFilterPlugin (TQObject* parent, const char* name, const TQStringList &);
~DirFilterPlugin ();
protected:
@@ -100,11 +100,11 @@ protected:
int id;
bool useAsFilter;
- QString mimeType;
- QString iconName;
- QString mimeComment;
+ TQString mimeType;
+ TQString iconName;
+ TQString mimeComment;
- QMap<QString, bool> filenames;
+ TQMap<TQString, bool> filenames;
};
void loadSettings();
@@ -121,19 +121,19 @@ private slots:
void slotItemRemoved(const KFileItem *);
void slotItemsAdded(const KFileItemList &);
void activateSearch();
- void searchTextChanged(const QString& newtext);
+ void searchTextChanged(const TQString& newtext);
void reactivateRefreshTimer();
private:
KURL m_pURL;
KonqDirPart* m_part;
- QTimer *m_refreshTimer;
- QTimer *m_reactivateRefreshTimer;
+ TQTimer *m_refreshTimer;
+ TQTimer *m_reactivateRefreshTimer;
KActionMenu* m_pFilterMenu;
- QString m_oldFilterString;
+ TQString m_oldFilterString;
KLineEdit *m_searchWidget;
- QMap<QString,MimeInfo> m_pMimeInfo;
- typedef QMap<QString,MimeInfo>::Iterator MimeInfoIterator;
+ TQMap<TQString,MimeInfo> m_pMimeInfo;
+ typedef TQMap<TQString,MimeInfo>::Iterator MimeInfoIterator;
};
#endif