summaryrefslogtreecommitdiffstats
path: root/src/renamedialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/renamedialog.h')
-rw-r--r--src/renamedialog.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/renamedialog.h b/src/renamedialog.h
index fb743db..0803b03 100644
--- a/src/renamedialog.h
+++ b/src/renamedialog.h
@@ -22,7 +22,7 @@
#include <kdialogbase.h>
#include <kurl.h>
-#include <qstring.h>
+#include <tqstring.h>
class KLineEdit;
@@ -33,8 +33,8 @@ class KLineEdit;
* must do this itself:
* \code
* RenameDialog dialog(...);
- * if (dialog.exec() == QDialog::Accepted) {
- * const QString& newName = dialog.newName();
+ * if (dialog.exec() == TQDialog::Accepted) {
+ * const TQString& newName = dialog.newName();
* // ... rename items corresponding to the new name
* }
* \endcode
@@ -43,6 +43,7 @@ class KLineEdit;
class RenameDialog : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
RenameDialog(const KURL::List& items);
@@ -54,14 +55,14 @@ public:
* which should be replaced by ascending numbers. An empty string indicates
* that the user has removed the # character.
*/
- const QString& newName() const { return m_newName; }
+ const TQString& newName() const { return m_newName; }
protected slots:
virtual void slotOk();
private:
KLineEdit* m_lineEdit;
- QString m_newName;
+ TQString m_newName;
};
#endif