From fc6629f90a46a3f304bdba2ecef645c01ed02640 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:10:03 -0600 Subject: Rename old tq methods that no longer need a unique name --- src/sources/labelsource.cpp | 4 ++-- src/sources/labelsourcePrefs.cpp | 2 +- src/sources/labelsourcePrefs.ui | 4 ++-- src/sources/sourceprefs.cpp | 2 +- src/sources/sourceprefs.ui | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/sources') diff --git a/src/sources/labelsource.cpp b/src/sources/labelsource.cpp index d4d2182..4262c82 100644 --- a/src/sources/labelsource.cpp +++ b/src/sources/labelsource.cpp @@ -95,7 +95,7 @@ void LabelSource::applyPrefs(){ }else if(alignID == 2){ align = TQt::AlignRight; } - mLabel->tqsetAlignment(align); + mLabel->setAlignment(align); updateLabel(mValue); } @@ -113,7 +113,7 @@ void LabelSource::loadPrefs(KConfig* inKConfig){ color.setRgb(0,0,0); mLabel->setPaletteForegroundColor(color); mLabel->setFont(inKConfig->readFontEntry(mID + "_font")); - mLabel->tqsetAlignment(inKConfig->readNumEntry(mID + "_align")); + mLabel->setAlignment(inKConfig->readNumEntry(mID + "_align")); } void LabelSource::updateLabel(const TQString& inValue){ diff --git a/src/sources/labelsourcePrefs.cpp b/src/sources/labelsourcePrefs.cpp index db9b675..3f32e77 100644 --- a/src/sources/labelsourcePrefs.cpp +++ b/src/sources/labelsourcePrefs.cpp @@ -76,7 +76,7 @@ LabelSourcePrefs::LabelSourcePrefs( TQWidget* parent, const char* name, WFlags f defaultSourcePrefsFrameLayout->addLayout( tqlayout18 ); LabelSourcePrefsLayout->addWidget( defaultSourcePrefsFrame ); languageChange(); - resize( TQSize(299, 135).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(299, 135).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } diff --git a/src/sources/labelsourcePrefs.ui b/src/sources/labelsourcePrefs.ui index a7f49db..4fe2cc1 100644 --- a/src/sources/labelsourcePrefs.ui +++ b/src/sources/labelsourcePrefs.ui @@ -87,7 +87,7 @@ Taskbar visual settings Expanding - + 350 20 @@ -165,7 +165,7 @@ Taskbar visual settings Expanding - + 350 20 diff --git a/src/sources/sourceprefs.cpp b/src/sources/sourceprefs.cpp index 160cfd0..1e0f3c7 100644 --- a/src/sources/sourceprefs.cpp +++ b/src/sources/sourceprefs.cpp @@ -59,7 +59,7 @@ SourcePrefs::SourcePrefs( TQWidget* parent, const char* name, WFlags fl ) tooltipCheckBox = new TQCheckBox( this, "tooltipCheckBox" ); SourcePrefsLayout->addWidget( tooltipCheckBox ); languageChange(); - resize( TQSize(203, 127).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(203, 127).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } diff --git a/src/sources/sourceprefs.ui b/src/sources/sourceprefs.ui index e063d39..46c3b8e 100644 --- a/src/sources/sourceprefs.ui +++ b/src/sources/sourceprefs.ui @@ -61,7 +61,7 @@ Expanding - + 20 20 @@ -96,7 +96,7 @@ Fixed - + 20 20 -- cgit v1.2.1