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 /kspread/dialogs/kspread_dlg_find.cc | |
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 'kspread/dialogs/kspread_dlg_find.cc')
-rw-r--r-- | kspread/dialogs/kspread_dlg_find.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kspread/dialogs/kspread_dlg_find.cc b/kspread/dialogs/kspread_dlg_find.cc index d63bfd69..75330563 100644 --- a/kspread/dialogs/kspread_dlg_find.cc +++ b/kspread/dialogs/kspread_dlg_find.cc @@ -20,7 +20,7 @@ #include "kspread_dlg_find.h" #include <tqcheckbox.h> -#include <tqlayout.h> +#include <layout.h> #include <klocale.h> #include <tqpushbutton.h> #include <tqlabel.h> @@ -30,17 +30,17 @@ using namespace KSpread; FindOption::FindOption( TQWidget *parent) { - TQVBoxLayout *tqlayout = new TQVBoxLayout(parent); + TQVBoxLayout *layout = new TQVBoxLayout(parent); m_moreOptions = new TQPushButton( i18n( "More Options" ), parent ); - tqlayout->addWidget( m_moreOptions ); + layout->addWidget( m_moreOptions ); connect( m_moreOptions, TQT_SIGNAL( clicked () ), this, TQT_SLOT( slotMoreOptions() ) ); m_findExtension = new TQWidget( parent ); - tqlayout->addWidget( m_findExtension ); - TQVBoxLayout *tqlayout1 = new TQVBoxLayout( m_findExtension ); + layout->addWidget( m_findExtension ); + TQVBoxLayout *layout1 = new TQVBoxLayout( m_findExtension ); m_searchInAllSheet = new TQCheckBox( i18n( "Search entire sheet" ),m_findExtension ); - tqlayout1->addWidget( m_searchInAllSheet ); + layout1->addWidget( m_searchInAllSheet ); TQHBoxLayout *comboLayout = new TQHBoxLayout( m_findExtension ); TQLabel *label = new TQLabel( i18n( "Search in:" ), m_findExtension ); @@ -48,7 +48,7 @@ FindOption::FindOption( TQWidget *parent) m_searchIn = new TQComboBox( m_findExtension ); comboLayout->addWidget( m_searchIn ); - tqlayout1->addLayout( comboLayout ); + layout1->addLayout( comboLayout ); TQStringList lst; lst << i18n( "Cell Values" ); @@ -61,7 +61,7 @@ FindOption::FindOption( TQWidget *parent) m_searchDirection = new TQComboBox( m_findExtension ); comboLayout->addWidget( m_searchDirection ); - tqlayout1->addLayout( comboLayout ); + layout1->addLayout( comboLayout ); lst.clear(); lst << i18n( "Across then Down" ); @@ -120,7 +120,7 @@ FindDlg::FindDlg(TQWidget *parent, const char *name, long options, const TQStrin { m_findOptions = new FindOption( findExtension() ); connect( m_findOptions, TQT_SIGNAL( adjustSize() ), TQT_SLOT( slotAjustSize() ) ); - tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum)); + setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum)); } FindDlg::~FindDlg() @@ -144,7 +144,7 @@ SearchDlg::SearchDlg(TQWidget *parent, const char *name, long options, const TQS { m_findOptions = new FindOption( findExtension() ); connect( m_findOptions, TQT_SIGNAL( adjustSize() ), TQT_SLOT( slotAjustSize() ) ); - tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum)); + setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum)); } SearchDlg::~SearchDlg() |