summaryrefslogtreecommitdiffstats
path: root/krename/myinputdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krename/myinputdialog.cpp')
-rw-r--r--krename/myinputdialog.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/krename/myinputdialog.cpp b/krename/myinputdialog.cpp
index 10428d2..f922bb5 100644
--- a/krename/myinputdialog.cpp
+++ b/krename/myinputdialog.cpp
@@ -20,26 +20,26 @@
#include <klineedit.h>
#include <kpushbutton.h>
#include <klocale.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qtooltip.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqtooltip.h>
-MyInputDialog::MyInputDialog( QString filename, bool revertEnabled, QWidget* parent )
- : QDialog( parent, 0, true, 0 )
+MyInputDialog::MyInputDialog( TQString filename, bool revertEnabled, TQWidget* tqparent )
+ : TQDialog( tqparent, 0, true, 0 )
{
// I do not think this has to be translated
setCaption( "KRename" );
- MyInputDialogLayout = new QVBoxLayout( this, 11, 6, "MyInputDialogLayout");
- Layout = new QHBoxLayout( 0, 0, 6, "Layout");
+ MyInputDialogLayout = new TQVBoxLayout( this, 11, 6, "MyInputDialogLayout");
+ Layout = new TQHBoxLayout( 0, 0, 6, "Layout");
- TextLabel1 = new QLabel( this, "TextLabel1" );
+ TextLabel1 = new TQLabel( this, "TextLabel1" );
TextLabel1->setText( i18n( "Please input a new filename:" ) );
text = new KLineEdit( this, "text" );
text->setText( filename );
- QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ TQSpacerItem* spacer = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
buttonKrename = new KPushButton( this, "buttonKrename" );
buttonKrename->setText( i18n( "&Revert Changes" ) );
@@ -67,19 +67,19 @@ MyInputDialog::MyInputDialog( QString filename, bool revertEnabled, QWidget* par
MyInputDialogLayout->addWidget( text );
MyInputDialogLayout->addLayout( Layout );
- connect( buttonCancel, SIGNAL( clicked() ), this, SLOT( reject() ) );
- connect( buttonOk, SIGNAL( clicked() ), this, SLOT( accept() ) );
- connect( buttonKrename, SIGNAL( clicked() ), this, SLOT( krename() ) );
- connect( buttonFilename, SIGNAL( clicked() ), this, SLOT( slotFilename() ) );
+ connect( buttonCancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( reject() ) );
+ connect( buttonOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
+ connect( buttonKrename, TQT_SIGNAL( clicked() ), this, TQT_SLOT( krename() ) );
+ connect( buttonFilename, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotFilename() ) );
- QToolTip::add( buttonKrename, i18n("Use the filename that is generated by "
+ TQToolTip::add( buttonKrename, i18n("Use the filename that is generated by "
"KRename instead of your changes." ) );
}
MyInputDialog::~MyInputDialog()
{ }
- QString MyInputDialog::filename() const
+ TQString MyInputDialog::filename() const
{
return text->text();
}