diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:13:01 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:13:01 -0600 |
commit | 8d4453deaa5f97e1bbe76ea45fdcac6121da8c9d (patch) | |
tree | 98a944d593e1998726e1728dd298d40123f30059 /kradio3/src/aboutwidget.cpp | |
parent | 6df9eac4b9928768bf0c3dc988bac1c0c1fbb685 (diff) | |
download | tderadio-8d4453deaa5f97e1bbe76ea45fdcac6121da8c9d.tar.gz tderadio-8d4453deaa5f97e1bbe76ea45fdcac6121da8c9d.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kradio3/src/aboutwidget.cpp')
-rw-r--r-- | kradio3/src/aboutwidget.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kradio3/src/aboutwidget.cpp b/kradio3/src/aboutwidget.cpp index 8d81179..fed81f5 100644 --- a/kradio3/src/aboutwidget.cpp +++ b/kradio3/src/aboutwidget.cpp @@ -45,8 +45,8 @@ class KRadioAboutTabWidget : public TQTabWidget { public: KRadioAboutTabWidget( TQWidget* parent ) : TQTabWidget( parent ) {} - TQSize tqsizeHint() const { - return TQTabWidget::tqsizeHint().expandedTo( tabBar()->tqsizeHint() + TQSize(4,4) ); + TQSize sizeHint() const { + return TQTabWidget::sizeHint().expandedTo( tabBar()->sizeHint() + TQSize(4,4) ); } }; @@ -75,7 +75,7 @@ KRadioAboutWidget::KRadioAboutWidget(const KAboutData &aboutData, int layoutType if( layoutType & AbtTitle ) { mTitleLabel = new TQLabel( this, "title" ); - mTitleLabel->tqsetAlignment(AlignCenter); + mTitleLabel->setAlignment(AlignCenter); mTopLayout->addWidget( mTitleLabel ); mTopLayout->addSpacing( KDialog::spacingHint() ); } @@ -190,9 +190,9 @@ void KRadioAboutWidget::show( void ) TQWidget::show(); } -TQSize KRadioAboutWidget::tqsizeHint( void ) const +TQSize KRadioAboutWidget::sizeHint( void ) const { - return tqminimumSize().expandedTo( TQSize( TQWidget::tqsizeHint().width(), 0 ) ); + return minimumSize().expandedTo( TQSize( TQWidget::sizeHint().width(), 0 ) ); } void KRadioAboutWidget::fontChange( const TQFont &/*oldFont*/ ) @@ -449,10 +449,10 @@ void KRadioAboutWidget::setProduct( const TQString &appName, mIconLabel->setPixmap( kapp->icon() ); TQString msg1 = i18n("%1 %2 (Using KDE %3)").tqarg(appName). - arg(TQString::tqfromLatin1(KRADIO_VERSION)). - arg(TQString::tqfromLatin1(TDE_VERSION_STRING)); + arg(TQString::fromLatin1(KRADIO_VERSION)). + arg(TQString::fromLatin1(TDE_VERSION_STRING)); TQString msg2 = !year.isEmpty() ? i18n("%1 %2, %3").tqarg('�').tqarg(year). - arg(author) : TQString::tqfromLatin1(""); + arg(author) : TQString::fromLatin1(""); mVersionLabel->setText( msg1 ); mAuthorLabel->setText( msg2 ); @@ -563,7 +563,7 @@ void KRadioAboutWidget::setAboutData(const KAboutData &_aboutData) TQLabel *label = new TQLabel(KAboutData::aboutTranslationTeam(), translatorPage); label->adjustSize(); - label->setMinimumSize(label->tqsizeHint()); + label->setMinimumSize(label->sizeHint()); translatorPage->addWidget(label); } |