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/inode.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/inode.h')
-rw-r--r-- | konq-plugins/fsview/inode.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/konq-plugins/fsview/inode.h b/konq-plugins/fsview/inode.h index 8289f6b..eb1e3dd 100644 --- a/konq-plugins/fsview/inode.h +++ b/konq-plugins/fsview/inode.h @@ -23,10 +23,10 @@ #ifndef INODE_H #define INODE_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> @@ -49,7 +49,7 @@ public: Inode(ScanDir*, Inode*); Inode(ScanFile*, Inode*); ~Inode(); - void init(const QString&); + void init(const TQString&); void setPeer(ScanDir*); @@ -59,13 +59,13 @@ public: double size() const; unsigned int fileCount() const; unsigned int dirCount() const; - QString path() const; - QString text(int i) const; - QPixmap pixmap(int i) const; - QColor backColor() const; + TQString path() const; + TQString text(int i) const; + TQPixmap pixmap(int i) const; + TQColor backColor() const; KMimeType::Ptr mimeType() const; - const QFileInfo& fileInfo() const { return _info; } + const TQFileInfo& fileInfo() const { return _info; } ScanDir* dirPeer() { return _dirPeer; } ScanFile* filePeer() { return _filePeer; } bool isDir() { return (_dirPeer != 0); } @@ -78,7 +78,7 @@ public: private: void setMetrics(double, unsigned int); - QFileInfo _info; + TQFileInfo _info; ScanDir* _dirPeer; ScanFile* _filePeer; @@ -91,7 +91,7 @@ private: // This means a change even in const methods, thus has to be "mutable" mutable bool _mimeSet, _mimePixmapSet; mutable KMimeType::Ptr _mimeType; - mutable QPixmap _mimePixmap; + mutable TQPixmap _mimePixmap; }; #endif |