summaryrefslogtreecommitdiffstats
path: root/krename/replacedialog.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 05:51:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 05:51:05 +0000
commitce0c60d7b9a0be4dd17c25bf627d807d9432d953 (patch)
treef04fe60da1d1207732afec16a35d8d32323f20c4 /krename/replacedialog.h
parentf8b5e2400a066271276cf2712aaf9788f5ac5ac1 (diff)
downloadkrename-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/replacedialog.h')
-rw-r--r--krename/replacedialog.h37
1 files changed, 19 insertions, 18 deletions
diff --git a/krename/replacedialog.h b/krename/replacedialog.h
index 0598fcc..13d7542 100644
--- a/krename/replacedialog.h
+++ b/krename/replacedialog.h
@@ -20,28 +20,29 @@
// QT includes
#include <kdialogbase.h>
-#include <qvaluelist.h>
+#include <tqvaluelist.h>
// Own includes
#include "batchrenamer.h"
-class QCheckBox;
-class QGridLayout;
-class QGridLayout;
-class QLabel;
-class QLineEdit;
+class TQCheckBox;
+class TQGridLayout;
+class TQGridLayout;
+class TQLabel;
+class TQLineEdit;
class KPushButton;
-class QListViewItem;
+class TQListViewItem;
class KListView;
class ReplaceDialog : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- ReplaceDialog( QValueList<replacestrings> & r, QWidget* parent = 0 );
+ ReplaceDialog( TQValueList<replacestrings> & r, TQWidget* tqparent = 0 );
~ReplaceDialog();
- QValueList<replacestrings> getList();
+ TQValueList<replacestrings> getList();
private slots:
void add();
@@ -54,25 +55,25 @@ class ReplaceDialog : public KDialogBase
private:
void reset();
- QLabel* TextLabel1;
- QLineEdit* text2;
- QLabel* TextLabel2;
- QLineEdit* text1;
+ TQLabel* TextLabel1;
+ TQLineEdit* text2;
+ TQLabel* TextLabel2;
+ TQLineEdit* text1;
KListView* list;
- QCheckBox* checkReg;
+ TQCheckBox* checkReg;
KPushButton* buttonAdd;
KPushButton* buttonRemove;
KPushButton* buttonEdit;
KPushButton* buttonRegEdit;
- QString encode( QString s );
- QString decode( QString s );
+ TQString encode( TQString s );
+ TQString decode( TQString s );
protected:
- void resizeEvent( QResizeEvent* e );
+ void resizeEvent( TQResizeEvent* e );
- QGridLayout* ReplaceDialogLayout;
+ TQGridLayout* ReplaceDialogLayout;
};
#endif // REPLACEDIALOG_H