diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
commit | 94844816550ad672ccfcdc25659c625546239998 (patch) | |
tree | e35fc60fd736c645d59f6408af032774ad8023d3 /kexi/main/kexifinddialog.cpp | |
parent | 2a811c38c74c03648ecf857e566c44483cbad706 (diff) | |
download | koffice-94844816550ad672ccfcdc25659c625546239998.tar.gz koffice-94844816550ad672ccfcdc25659c625546239998.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kexi/main/kexifinddialog.cpp')
-rw-r--r-- | kexi/main/kexifinddialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/main/kexifinddialog.cpp b/kexi/main/kexifinddialog.cpp index 0aa0cd35..8c246ad1 100644 --- a/kexi/main/kexifinddialog.cpp +++ b/kexi/main/kexifinddialog.cpp @@ -32,7 +32,7 @@ #include <tqcheckbox.h> #include <tqlabel.h> #include <tqguardedptr.h> -#include <tqlayout.h> +#include <layout.h> #include <tqaccel.h> //! @internal @@ -82,8 +82,8 @@ KexiFindDialog::KexiFindDialog( TQWidget* parent ) , d( new Private() ) { m_search->setCurrentItem((int)KexiSearchAndReplaceViewInterface::Options::SearchDown); - tqlayout()->setMargin( KDialog::marginHint() ); - tqlayout()->setSpacing( KDialog::spacingHint() ); + layout()->setMargin( KDialog::marginHint() ); + layout()->setSpacing( KDialog::spacingHint() ); KAction *a = KStdAction::findNext(0, 0, 0); m_btnFind->setText(a->text()); m_btnFind->setIconSet(a->iconSet()); @@ -175,7 +175,7 @@ void KexiFindDialog::setCurrentLookInColumnName(const TQString& columnName) index = d->lookInColumnNames.findIndex( columnName ); if (index == -1) { kdWarning() << TQString("KexiFindDialog::setCurrentLookInColumn(%1) column name not found on the list") - .tqarg(columnName) << endl; + .arg(columnName) << endl; return; } index = index + 1/*"(All fields)"*/ + 1/*"(Current field)"*/; @@ -214,13 +214,13 @@ void KexiFindDialog::setObjectNameForCaption(const TQString& name) if (name.isEmpty()) setCaption(i18n("Replace")); else - setCaption(i18n("Replace in \"%1\"").tqarg(name)); + setCaption(i18n("Replace in \"%1\"").arg(name)); } else { if (name.isEmpty()) setCaption(i18n("Find")); else - setCaption(i18n("Find in \"%1\"").tqarg(name)); + setCaption(i18n("Find in \"%1\"").arg(name)); } } |