diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /kdevdesigner/designer/pixmapcollection.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdevdesigner/designer/pixmapcollection.h')
-rw-r--r-- | kdevdesigner/designer/pixmapcollection.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kdevdesigner/designer/pixmapcollection.h b/kdevdesigner/designer/pixmapcollection.h index ed36ecb8..6993c146 100644 --- a/kdevdesigner/designer/pixmapcollection.h +++ b/kdevdesigner/designer/pixmapcollection.h @@ -27,9 +27,9 @@ #ifndef PIXMAPCOLLECTION_H #define PIXMAPCOLLECTION_H -#include <qstring.h> -#include <qpixmap.h> -#include <qvaluelist.h> +#include <tqstring.h> +#include <tqpixmap.h> +#include <tqvaluelist.h> #include "designerappiface.h" class QMimeSourceFactory; @@ -40,9 +40,9 @@ class PixmapCollection public: struct Pixmap { - QPixmap pix; - QString name; - QString absname; + TQPixmap pix; + TQString name; + TQString absname; Q_DUMMY_COMPARISON_OPERATOR( Pixmap ) }; @@ -50,28 +50,28 @@ public: ~PixmapCollection(); bool addPixmap( const Pixmap &pix, bool force = TRUE ); - void removePixmap( const QString &name ); - QPixmap pixmap( const QString &name ); + void removePixmap( const TQString &name ); + TQPixmap pixmap( const TQString &name ); - QValueList<Pixmap> pixmaps() const; + TQValueList<Pixmap> pixmaps() const; bool isEmpty() const; void setActive( bool b ); - void load( const QString& filename ); + void load( const TQString& filename ); DesignerPixmapCollection *iFace(); private: - QString unifyName( const QString &n ); + TQString unifyName( const TQString &n ); void savePixmap( Pixmap &pix ); - QString imageDir() const; + TQString imageDir() const; void mkdir(); private: - QValueList<Pixmap> pixList; - QMimeSourceFactory *mimeSourceFactory; + TQValueList<Pixmap> pixList; + TQMimeSourceFactory *mimeSourceFactory; Project *project; DesignerPixmapCollectionImpl *iface; |