diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-12 11:17:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-12 12:39:52 +0900 |
commit | ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7 (patch) | |
tree | d8b80b41bf117fe1d5caa7e7faecfab523e81153 /tdeui/klineeditdlg.cpp | |
parent | 5d320b587ba28fa3c4745e1555aff74d5651783e (diff) | |
download | tdelibs-ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7.tar.gz tdelibs-ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeui/klineeditdlg.cpp')
-rw-r--r-- | tdeui/klineeditdlg.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tdeui/klineeditdlg.cpp b/tdeui/klineeditdlg.cpp index 8fc0a9a4f..9bdd429ce 100644 --- a/tdeui/klineeditdlg.cpp +++ b/tdeui/klineeditdlg.cpp @@ -46,12 +46,12 @@ KLineEditDlg::KLineEditDlg( const TQString&_text, const TQString& _value, edit = new KLineEdit( plainPage(), 0L ); edit->setMinimumWidth(edit->sizeHint().width() * 3); label->setBuddy(edit); // please "scheck" style - // connect( edit, TQT_SIGNAL(returnPressed()), TQT_SLOT(accept()) ); - connect( edit, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(slotTextChanged(const TQString&)) ); + // connect( edit, TQ_SIGNAL(returnPressed()), TQ_SLOT(accept()) ); + connect( edit, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(slotTextChanged(const TQString&)) ); topLayout->addWidget( edit, 1 ); - connect( this, TQT_SIGNAL(user1Clicked()), this, TQT_SLOT(slotClear()) ); + connect( this, TQ_SIGNAL(user1Clicked()), this, TQ_SLOT(slotClear()) ); edit->setText( _value ); if ( _value.isEmpty() ) { @@ -76,7 +76,7 @@ KLineEditDlg::KLineEditDlg( const TQString&_text, const TQString& _value, edit = new KLineEdit( this, 0L ); edit->setMinimumWidth(edit->sizeHint().width() * 3); - connect( edit, TQT_SIGNAL(returnPressed()), TQT_SLOT(accept()) ); + connect( edit, TQ_SIGNAL(returnPressed()), TQ_SLOT(accept()) ); if ( _file_mode ) { completion = new KURLCompletion(); @@ -91,8 +91,8 @@ KLineEditDlg::KLineEditDlg( const TQString&_text, const TQString& _value, if (_file_mode) { TQPushButton *browse = new TQPushButton(i18n("&Browse..."), this); layout->addWidget(browse, 1, 2, AlignCenter); - connect(browse, TQT_SIGNAL(clicked()), - TQT_SLOT(slotBrowse())); + connect(browse, TQ_SIGNAL(clicked()), + TQ_SLOT(slotBrowse())); } TQFrame *hLine = new TQFrame(this); @@ -104,17 +104,17 @@ KLineEditDlg::KLineEditDlg( const TQString&_text, const TQString& _value, TQPushButton *ok = bBox->addButton(KStdGuiItem::ok()); ok->setDefault(true); - connect( ok, TQT_SIGNAL(clicked()), TQT_SLOT(accept())); + connect( ok, TQ_SIGNAL(clicked()), TQ_SLOT(accept())); bBox->addStretch(1); TQPushButton *clear = bBox->addButton(KStdGuiItem::clear()); - connect( clear, TQT_SIGNAL(clicked()), TQT_SLOT(slotClear())); + connect( clear, TQ_SIGNAL(clicked()), TQ_SLOT(slotClear())); bBox->addStretch(1); TQPushButton *cancel = bBox->addButton(KStdGuiItem::cancel()); - connect( cancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject())); + connect( cancel, TQ_SIGNAL(clicked()), TQ_SLOT(reject())); bBox->layout(); |