diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:10:03 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:10:03 -0600 |
commit | fc6629f90a46a3f304bdba2ecef645c01ed02640 (patch) | |
tree | 14f39cc4b99e55d5cbe2b33345b9834e25d2feec /src/sources | |
parent | 0b46312b4c5d893a6e0c29e354038bbdc5a15fdd (diff) | |
download | kima-fc6629f90a46a3f304bdba2ecef645c01ed02640.tar.gz kima-fc6629f90a46a3f304bdba2ecef645c01ed02640.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/sources')
-rw-r--r-- | src/sources/labelsource.cpp | 4 | ||||
-rw-r--r-- | src/sources/labelsourcePrefs.cpp | 2 | ||||
-rw-r--r-- | src/sources/labelsourcePrefs.ui | 4 | ||||
-rw-r--r-- | src/sources/sourceprefs.cpp | 2 | ||||
-rw-r--r-- | src/sources/sourceprefs.ui | 4 |
5 files changed, 8 insertions, 8 deletions
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</string> <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>350</width> <height>20</height> @@ -165,7 +165,7 @@ Taskbar visual settings</string> <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>350</width> <height>20</height> 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 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>20</height> @@ -96,7 +96,7 @@ <property name="sizeType"> <enum>Fixed</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>20</height> |