diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-26 21:04:57 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-26 21:04:57 +0000 |
commit | bf7f88413be3831a9372d323d02fc0335b9f9188 (patch) | |
tree | 516fdef9206245b40a14f99b4e3d9ef9289196e0 /src/gvcore/inputdialog.cpp | |
parent | e238aa77b1fb3c2f55aef2ef2c91ce52166d2cc8 (diff) | |
download | gwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.tar.gz gwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.zip |
TQt4 port Gwenview
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1233720 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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); } |