diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 05:51:05 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 05:51:05 +0000 |
commit | ce0c60d7b9a0be4dd17c25bf627d807d9432d953 (patch) | |
tree | f04fe60da1d1207732afec16a35d8d32323f20c4 /krename/mydirplugin.h | |
parent | f8b5e2400a066271276cf2712aaf9788f5ac5ac1 (diff) | |
download | krename-ce0c60d7b9a0be4dd17c25bf627d807d9432d953.tar.gz krename-ce0c60d7b9a0be4dd17c25bf627d807d9432d953.zip |
TQt4 port krename
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/krename@1238984 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krename/mydirplugin.h')
-rw-r--r-- | krename/mydirplugin.h | 51 |
1 files changed, 26 insertions, 25 deletions
diff --git a/krename/mydirplugin.h b/krename/mydirplugin.h index 1c27dc7..7dac484 100644 --- a/krename/mydirplugin.h +++ b/krename/mydirplugin.h @@ -23,28 +23,29 @@ #include "plugin.h" #include "helpdialog.h" -class QDir; -class QHBoxLayout; -class QGroupBox; -class QLineEdit; -class QPushButton; -class QSpinBox; -class QString; -class QVBoxLayout; -class QWidget; +class TQDir; +class TQHBoxLayout; +class TQGroupBox; +class TQLineEdit; +class TQPushButton; +class TQSpinBox; +class TQString; +class TQVBoxLayout; +class TQWidget; class MyDirPlugin : public Plugin { Q_OBJECT + TQ_OBJECT public: - const QString getName() const; - const QString getAccelName() const; + const TQString getName() const; + const TQString getAccelName() const; const int type() const; bool checkError(); - void drawInterface( QWidget* w, QVBoxLayout* l ); + void drawInterface( TQWidget* w, TQVBoxLayout* l ); void fillStructure(); - QString processFile( BatchRenamer*, int, QString token, int ); + TQString processFile( BatchRenamer*, int, TQString token, int ); void finished(); - const QPixmap getIcon() const; + const TQPixmap getIcon() const; private slots: void chooseDir(); @@ -53,20 +54,20 @@ class MyDirPlugin : public Plugin { int fpd; // files per dir int filecounter; int dircounter; - QString dir; - QString curdir; - QDir* d; + TQString dir; + TQString curdir; + TQDir* d; - QLineEdit* outputdir; - QPushButton* buttonDir; - QSpinBox* spinFiles; - QSpinBox* spinStart; + TQLineEdit* outputdir; + TQPushButton* buttonDir; + TQSpinBox* spinFiles; + TQSpinBox* spinStart; - QGroupBox* groupOutput; - QHBoxLayout* groupOutputLayout; + TQGroupBox* groupOutput; + TQHBoxLayout* groupOutputLayout; - QGroupBox* groupNumber; - QHBoxLayout* groupNumberLayout; + TQGroupBox* groupNumber; + TQHBoxLayout* groupNumberLayout; }; #endif |