diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
commit | 7346aee26bf190a7e70333c40fab4caca847cd27 (patch) | |
tree | 4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /konq-plugins/fsview/fsview.h | |
parent | 23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff) | |
download | tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/fsview/fsview.h')
-rw-r--r-- | konq-plugins/fsview/fsview.h | 32 |
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; |