diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:30:32 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 20:22:52 +0900 |
| commit | e1b37ac1936f81994a2c1aa2778298fbc757531f (patch) | |
| tree | 2e2df5ea5786d581b10e51e0cbde9f4921697b2f /kexi/main/kexifinddialog.cpp | |
| parent | d08f80f854355e446d1c6be0eb50166646f7f291 (diff) | |
| download | koffice-e1b37ac1.tar.gz koffice-e1b37ac1.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
Diffstat (limited to 'kexi/main/kexifinddialog.cpp')
| -rw-r--r-- | kexi/main/kexifinddialog.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kexi/main/kexifinddialog.cpp b/kexi/main/kexifinddialog.cpp index 3365268a2..6f8d36e6a 100644 --- a/kexi/main/kexifinddialog.cpp +++ b/kexi/main/kexifinddialog.cpp @@ -53,7 +53,7 @@ class KexiFindDialog::Private { if (!action) return; - TQObject::connect(parent, member, action, TQT_SLOT(activate())); + TQObject::connect(parent, member, action, TQ_SLOT(activate())); if (action->shortcut().isNull()) return; TQAccel *accel = new TQAccel(parent); // we want to handle dialog-wide shortcut as well @@ -90,13 +90,13 @@ KexiFindDialog::KexiFindDialog( TQWidget* parent ) delete a; m_btnClose->setText(KStdGuiItem::close().text()); m_btnClose->setIconSet(KStdGuiItem::close().iconSet()); - connect(m_btnFind, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(findNext())); - connect(m_btnClose, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCloseClicked())); - connect(m_btnReplace, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(replaceNext())); - connect(m_btnReplaceAll, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(replaceAll())); + connect(m_btnFind, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(findNext())); + connect(m_btnClose, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCloseClicked())); + connect(m_btnReplace, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(replaceNext())); + connect(m_btnReplaceAll, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(replaceAll())); // clear message after the text is changed - connect(m_textToFind, TQT_SIGNAL(textChanged()), this, TQT_SIGNAL(updateMessage())); - connect(m_textToReplace, TQT_SIGNAL(textChanged()), this, TQT_SIGNAL(updateMessage())); + connect(m_textToFind, TQ_SIGNAL(textChanged()), this, TQ_SIGNAL(updateMessage())); + connect(m_textToReplace, TQ_SIGNAL(textChanged()), this, TQ_SIGNAL(updateMessage())); d->replaceMode = true; //to force updating by setReplaceMode() setReplaceMode(false); @@ -117,10 +117,10 @@ void KexiFindDialog::setActions( TDEAction *findnext, TDEAction *findprev, d->replaceAction = replace; d->replaceallAction = replaceall; d->accels.clear(); - d->setActionAndAccel(d->findnextAction, this, TQT_SIGNAL(findNext())); - d->setActionAndAccel(d->findprevAction, this, TQT_SIGNAL(findPrevious())); - d->setActionAndAccel(d->replaceAction, this, TQT_SIGNAL(replaceNext())); - d->setActionAndAccel(d->replaceallAction, this, TQT_SIGNAL(replaceAll())); + d->setActionAndAccel(d->findnextAction, this, TQ_SIGNAL(findNext())); + d->setActionAndAccel(d->findprevAction, this, TQ_SIGNAL(findPrevious())); + d->setActionAndAccel(d->replaceAction, this, TQ_SIGNAL(replaceNext())); + d->setActionAndAccel(d->replaceallAction, this, TQ_SIGNAL(replaceAll())); } TQStringList KexiFindDialog::lookInColumnNames() const |
