summaryrefslogtreecommitdiffstats
path: root/src/renamedialog.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-27 00:40:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-27 00:40:29 +0000
commit7a741e43ff09e70396a918956219b8316c48e522 (patch)
tree3d0f60eccd59786cea7236db2d5c4c1f25874515 /src/renamedialog.h
parenta48487ef0c329434b58b6f920111bb0999f1109e (diff)
downloaddolphin-7a741e43ff09e70396a918956219b8316c48e522.tar.gz
dolphin-7a741e43ff09e70396a918956219b8316c48e522.zip
TQt4 port Dolphin
This enables compilation under Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/dolphin@1229359 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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