From 9e53911e5aace7c2e151acf19324cc35d7ee4957 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 18 Jul 2011 05:24:10 +0000 Subject: Rename tqsizeHint* to sizeHint* git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1241971 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kbabel/commonui/projectprefwidgets.cpp | 22 +++++++++++----------- kompare/libdialogpages/diffpage.cpp | 8 ++++---- kompare/libdialogpages/filespage.cpp | 2 +- kompare/libdialogpages/pagebase.cpp | 2 +- kompare/libdialogpages/pagebase.h | 2 +- kompare/libdialogpages/viewpage.cpp | 4 ++-- 6 files changed, 20 insertions(+), 20 deletions(-) diff --git a/kbabel/commonui/projectprefwidgets.cpp b/kbabel/commonui/projectprefwidgets.cpp index abafec59..7ec3381a 100644 --- a/kbabel/commonui/projectprefwidgets.cpp +++ b/kbabel/commonui/projectprefwidgets.cpp @@ -76,7 +76,7 @@ using namespace KBabel; -static TQSize tqsizeHintForWidget(const TQWidget* widget) +static TQSize sizeHintForWidget(const TQWidget* widget) { // // The size is computed by adding the tqsizeHint().height() of all @@ -184,7 +184,7 @@ SavePreferences::SavePreferences(TQWidget *tqparent) _autoSaveDelay->setSpecialValueText( i18n( "No autosave" ) ); tqlayout->addStretch(1); - page->setMinimumSize(tqsizeHintForWidget(page)); + page->setMinimumSize(sizeHintForWidget(page)); addTab(page, i18n("&General")); page = new TQWidget(this); @@ -235,7 +235,7 @@ SavePreferences::SavePreferences(TQWidget *tqparent) tempLabel->setBuddy(_projectEdit); tqlayout->addStretch(1); - page->setMinimumSize(tqsizeHintForWidget(page)); + page->setMinimumSize(sizeHintForWidget(page)); addTab(page, i18n("&Header")); page = new TQWidget(this); @@ -259,7 +259,7 @@ SavePreferences::SavePreferences(TQWidget *tqparent) _nochangeFSFButton = new TQRadioButton(i18n("Do ¬ change"),fsfBox); tqlayout->addStretch(1); - page->setMinimumSize(tqsizeHintForWidget(page)); + page->setMinimumSize(sizeHintForWidget(page)); addTab(page, i18n("Cop&yright")); TQWhatsThis::add(_updateButton, @@ -536,7 +536,7 @@ IdentityPreferences::IdentityPreferences(TQWidget* tqparent, const TQString& pro tqlayout->addStretch(1); - page->setMinimumSize(tqsizeHintForWidget(page)); + page->setMinimumSize(sizeHintForWidget(page)); setMinimumSize(tqsizeHint()); @@ -724,7 +724,7 @@ MiscPreferences::MiscPreferences(TQWidget *tqparent) "a single file"), vbgroup, "kcfg_CompressSingleFile"); tqlayout->addStretch(1); - page->setMinimumSize(tqsizeHintForWidget(page)); + page->setMinimumSize(sizeHintForWidget(page)); } void MiscPreferences::defaults(const MiscSettings& settings) @@ -835,7 +835,7 @@ SpellPreferences::SpellPreferences(TQWidget* tqparent) tqlayout->addStretch(1); - page->setMinimumSize(tqsizeHintForWidget(page)); + page->setMinimumSize(sizeHintForWidget(page)); setMinimumSize(tqsizeHint()); } @@ -958,7 +958,7 @@ CatmanPreferences::CatmanPreferences(TQWidget* tqparent) tqlayout->addStretch(1); - page->setMinimumSize(tqsizeHintForWidget(page)); + page->setMinimumSize(sizeHintForWidget(page)); setMinimumSize(tqsizeHint()); } @@ -1011,7 +1011,7 @@ DirCommandsPreferences::DirCommandsPreferences(TQWidget* tqparent) tqlayout->addStretch(1); - page->setMinimumSize(tqsizeHintForWidget(page)); + page->setMinimumSize(sizeHintForWidget(page)); setMinimumSize(tqsizeHint()); } @@ -1075,7 +1075,7 @@ FileCommandsPreferences::FileCommandsPreferences(TQWidget* tqparent) tqlayout->addStretch(1); - page->setMinimumSize(tqsizeHintForWidget(page)); + page->setMinimumSize(sizeHintForWidget(page)); setMinimumSize(tqsizeHint()); } @@ -1128,7 +1128,7 @@ ViewPreferences::ViewPreferences(TQWidget* tqparent) tqlayout->addStretch(1); - page->setMinimumSize(tqsizeHintForWidget(page)); + page->setMinimumSize(sizeHintForWidget(page)); setMinimumSize(tqsizeHint()); } diff --git a/kompare/libdialogpages/diffpage.cpp b/kompare/libdialogpages/diffpage.cpp index e8cd73fd..70c8af2b 100644 --- a/kompare/libdialogpages/diffpage.cpp +++ b/kompare/libdialogpages/diffpage.cpp @@ -216,7 +216,7 @@ void DiffPage::addDiffTab() TQWhatsThis::add( m_diffURLRequester, i18n( "You can select a different diff program here. On Solaris the standard diff program does not support all the options that the GNU version does. This way you can select that version." ) ); tqlayout->addStretch( 1 ); - page->setMinimumSize( tqsizeHintForWidget( page ) ); + page->setMinimumSize( sizeHintForWidget( page ) ); addTab( page, i18n( "&Diff" ) ); } @@ -254,7 +254,7 @@ void DiffPage::addFormatTab() label->setBuddy( m_locSpinBox ); tqlayout->addStretch( 1 ); - page->setMinimumSize( tqsizeHintForWidget( page ) ); + page->setMinimumSize( sizeHintForWidget( page ) ); addTab( page, i18n( "&Format" ) ); } @@ -313,7 +313,7 @@ void DiffPage::addOptionsTab() TQToolTip::add( m_ignoreTabExpansionCheckBox, i18n( "This option corresponds to the -E diff option." ) ); tqlayout->addStretch( 1 ); - page->setMinimumSize( tqsizeHintForWidget( page ) ); + page->setMinimumSize( sizeHintForWidget( page ) ); addTab( page, i18n( "O&ptions" ) ); } @@ -347,7 +347,7 @@ void DiffPage::addExcludeTab() connect( m_excludeFileCheckBox, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotExcludeFileToggled(bool))); tqlayout->addStretch( 1 ); - page->setMinimumSize( tqsizeHintForWidget( page ) ); + page->setMinimumSize( sizeHintForWidget( page ) ); addTab( page, i18n( "&Exclude" ) ); } diff --git a/kompare/libdialogpages/filespage.cpp b/kompare/libdialogpages/filespage.cpp index 606f38fe..fd0f6de6 100644 --- a/kompare/libdialogpages/filespage.cpp +++ b/kompare/libdialogpages/filespage.cpp @@ -59,7 +59,7 @@ FilesPage::FilesPage( TQWidget* tqparent ) : PageBase( tqparent ), m_URLChanged( tqlayout->addWidget( m_thirdGB ); tqlayout->addStretch( 1 ); - page->setMinimumSize( tqsizeHintForWidget( page ) ); + page->setMinimumSize( sizeHintForWidget( page ) ); addTab( page, i18n( "&Files" ) ); } diff --git a/kompare/libdialogpages/pagebase.cpp b/kompare/libdialogpages/pagebase.cpp index 4feda39b..bf13986b 100644 --- a/kompare/libdialogpages/pagebase.cpp +++ b/kompare/libdialogpages/pagebase.cpp @@ -33,7 +33,7 @@ PageBase::~PageBase() } /** No descriptions */ -TQSize PageBase::tqsizeHintForWidget( TQWidget* widget ) +TQSize PageBase::sizeHintForWidget( TQWidget* widget ) { // // The size is computed by adding the tqsizeHint().height() of all diff --git a/kompare/libdialogpages/pagebase.h b/kompare/libdialogpages/pagebase.h index 32d4bca3..8fc3d9a7 100644 --- a/kompare/libdialogpages/pagebase.h +++ b/kompare/libdialogpages/pagebase.h @@ -38,7 +38,7 @@ public: public: /** No descriptions */ - TQSize tqsizeHintForWidget( TQWidget* widget ); + TQSize sizeHintForWidget( TQWidget* widget ); /** No descriptions */ virtual void restore(); /** No descriptions */ diff --git a/kompare/libdialogpages/viewpage.cpp b/kompare/libdialogpages/viewpage.cpp index d78f6b9a..f7261011 100644 --- a/kompare/libdialogpages/viewpage.cpp +++ b/kompare/libdialogpages/viewpage.cpp @@ -92,7 +92,7 @@ ViewPage::ViewPage( TQWidget* tqparent ) : PageBase( tqparent ) label->setBuddy( m_tabSpinBox ); tqlayout->addStretch( 1 ); - page->setMinimumSize( tqsizeHintForWidget( page ) ); + page->setMinimumSize( sizeHintForWidget( page ) ); addTab( page, i18n( "A&ppearance" ) ); @@ -114,7 +114,7 @@ ViewPage::ViewPage( TQWidget* tqparent ) : PageBase( tqparent ) label->setBuddy( m_fontSizeSpinBox ); tqlayout->addStretch( 1 ); - page->setMinimumSize( tqsizeHintForWidget( page ) ); + page->setMinimumSize( sizeHintForWidget( page ) ); addTab( page, i18n( "&Fonts" ) ); } -- cgit v1.2.1