summaryrefslogtreecommitdiffstats
path: root/konq-plugins/fsview/fsview.h
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/fsview/fsview.h')
-rw-r--r--konq-plugins/fsview/fsview.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/konq-plugins/fsview/fsview.h b/konq-plugins/fsview/fsview.h
index 17d926f..2e12986 100644
--- a/konq-plugins/fsview/fsview.h
+++ b/konq-plugins/fsview/fsview.h
@@ -23,10 +23,10 @@
#ifndef FSVIEW_H
#define FSVIEW_H
-#include <qmap.h>
-#include <qptrlist.h>
-#include <qfileinfo.h>
-#include <qstring.h>
+#include <tqmap.h>
+#include <tqptrlist.h>
+#include <tqfileinfo.h>
+#include <tqstring.h>
#include <kmimetype.h>
@@ -62,20 +62,20 @@ class FSView : public TreeMapWidget, public ScanListener
public:
enum ColorMode { None = 0, Depth, Name, Owner, Group, Mime };
- FSView(Inode*, QWidget* parent=0, const char* name=0);
+ FSView(Inode*, TQWidget* parent=0, const char* name=0);
~FSView();
KConfig* config() { return _config; }
- void setPath(QString);
- QString path() { return _path; }
+ void setPath(TQString);
+ TQString path() { return _path; }
int pathDepth() { return _pathDepth; }
void setColorMode(FSView::ColorMode cm);
FSView::ColorMode colorMode() const { return _colorMode; }
// returns true if string was recognized
- bool setColorMode(QString);
- QString colorModeString() const;
+ bool setColorMode(TQString);
+ TQString colorModeString() const;
void requestUpdate(Inode*);
@@ -85,19 +85,19 @@ public:
void stop();
- static bool getDirMetric(const QString&, double&, unsigned int&, unsigned int&);
- static void setDirMetric(const QString&, double, unsigned int, unsigned int);
+ static bool getDirMetric(const TQString&, double&, unsigned int&, unsigned int&);
+ static void setDirMetric(const TQString&, double, unsigned int, unsigned int);
void saveMetric(KConfigGroup*);
void saveFSOptions();
// for color mode
- void addColorItems(QPopupMenu*, int);
+ void addColorItems(TQPopupMenu*, int);
KURL::List selectedUrls();
public slots:
void selected(TreeMapItem*);
- void contextMenu(TreeMapItem*, const QPoint &);
+ void contextMenu(TreeMapItem*, const TQPoint &);
void quit();
void doUpdate();
void doRedraw();
@@ -105,7 +105,7 @@ public slots:
signals:
void started();
- void progress(int percent, int dirs, const QString& lastDir);
+ void progress(int percent, int dirs, const TQString& lastDir);
void completed(int dirs);
private:
@@ -115,11 +115,11 @@ public slots:
// when a contextMenu is shown, we don't allow async. refreshs
bool _allowRefresh;
// a cache for directory sizes with long lasting updates
- static QMap<QString, MetricEntry> _dirMetric;
+ static TQMap<TQString, MetricEntry> _dirMetric;
// current root path
int _pathDepth;
- QString _path;
+ TQString _path;
// for progress info
int _progressPhase;