diff options
Diffstat (limited to 'src/gvcore/inputdialog.cpp')
-rw-r--r-- | src/gvcore/inputdialog.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gvcore/inputdialog.cpp b/src/gvcore/inputdialog.cpp index e273969..cdd4267 100644 --- a/src/gvcore/inputdialog.cpp +++ b/src/gvcore/inputdialog.cpp @@ -21,9 +21,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // Self #include "inputdialog.moc" -// Qt -#include <qlabel.h> -#include <qvbox.h> +// TQt +#include <tqlabel.h> +#include <tqvbox.h> // KDE #include <klineedit.h> @@ -32,25 +32,25 @@ namespace Gwenview { struct InputDialog::Private { KLineEdit* mLineEdit; - QLabel* mLabel; + TQLabel* mLabel; }; -InputDialog::InputDialog(QWidget* parent) -: KDialogBase(parent, "InputDialog", true, QString::null, +InputDialog::InputDialog(TQWidget* tqparent) +: KDialogBase(tqparent, "InputDialog", true, TQString(), KDialogBase::Ok|KDialogBase::Cancel) { d = new Private; - QVBox* page = makeVBoxMainWidget(); - d->mLabel = new QLabel(page); + TQVBox* page = makeVBoxMainWidget(); + d->mLabel = new TQLabel(page); d->mLineEdit = new KLineEdit(page); d->mLineEdit->setFocus(); setMinimumWidth(350); - connect(d->mLineEdit, SIGNAL(textChanged(const QString&)), - this, SLOT(updateButtons()) ); + connect(d->mLineEdit, TQT_SIGNAL(textChanged(const TQString&)), + this, TQT_SLOT(updateButtons()) ); } @@ -59,7 +59,7 @@ InputDialog::~InputDialog() { } -void InputDialog::setLabel(const QString& label) { +void InputDialog::setLabel(const TQString& label) { d->mLabel->setText(label); } |