summaryrefslogtreecommitdiffstats
path: root/kcontrol/colors
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:53:50 -0600
committerSlávek Banko <[email protected]>2012-06-03 03:26:29 +0200
commita5b44fbe44e58478ad74d819c5f4c36926d31872 (patch)
treefa07b25a5c2a60b5e0b438a0af16d06c9a5ac498 /kcontrol/colors
parent6a1f2b1b6b19b0dd47b1e58afff29a12ae158226 (diff)
downloadtdebase-a5b44fbe44e58478ad74d819c5f4c36926d31872.tar.gz
tdebase-a5b44fbe44e58478ad74d819c5f4c36926d31872.zip
Remove additional unneeded tq method conversions
(cherry picked from commit f64397c82fa94371ab4a64af28c4d0029f4cd93f)
Diffstat (limited to 'kcontrol/colors')
-rw-r--r--kcontrol/colors/colorscm.cpp10
-rw-r--r--kcontrol/colors/widgetcanvas.cpp4
2 files changed, 7 insertions, 7 deletions
diff --git a/kcontrol/colors/colorscm.cpp b/kcontrol/colors/colorscm.cpp
index 2a9085b97..b66d839fc 100644
--- a/kcontrol/colors/colorscm.cpp
+++ b/kcontrol/colors/colorscm.cpp
@@ -440,7 +440,7 @@ void KColorScheme::sliderValueChanged( int val )
void KColorScheme::slotSave( )
{
- KColorSchemeEntry *entry = mSchemeList->tqat(sList->currentItem()-nSysSchemes);
+ KColorSchemeEntry *entry = mSchemeList->at(sList->currentItem()-nSysSchemes);
if (!entry) return;
sCurrentScheme = entry->path;
KSimpleConfig *config = new KSimpleConfig(sCurrentScheme );
@@ -482,7 +482,7 @@ void KColorScheme::slotSave( )
void KColorScheme::slotRemove()
{
uint ind = sList->currentItem();
- KColorSchemeEntry *entry = mSchemeList->tqat(ind-nSysSchemes);
+ KColorSchemeEntry *entry = mSchemeList->at(ind-nSysSchemes);
if (!entry) return;
if (unlink(TQFile::encodeName(entry->path).data())) {
@@ -497,7 +497,7 @@ void KColorScheme::slotRemove()
mSchemeList->remove(entry);
ind = sList->currentItem();
- entry = mSchemeList->tqat(ind-nSysSchemes);
+ entry = mSchemeList->at(ind-nSysSchemes);
if (!entry) return;
removeBt->setEnabled(entry ? entry->local : false);
}
@@ -795,7 +795,7 @@ void KColorScheme::readScheme( int index )
config->setGroup("General");
} else {
// Open scheme file
- KColorSchemeEntry *entry = mSchemeList->tqat(sList->currentItem()-nSysSchemes);
+ KColorSchemeEntry *entry = mSchemeList->at(sList->currentItem()-nSysSchemes);
if (!entry) return;
sCurrentScheme = entry->path;
config = new KSimpleConfig(sCurrentScheme, true);
@@ -941,7 +941,7 @@ void KColorScheme::slotPreviewScheme(int indx)
removeBt->setEnabled(false);
else
{
- KColorSchemeEntry *entry = mSchemeList->tqat(indx-nSysSchemes);
+ KColorSchemeEntry *entry = mSchemeList->at(indx-nSysSchemes);
removeBt->setEnabled(entry ? entry->local : false);
}
diff --git a/kcontrol/colors/widgetcanvas.cpp b/kcontrol/colors/widgetcanvas.cpp
index 59d6f4731..1de1ccae1 100644
--- a/kcontrol/colors/widgetcanvas.cpp
+++ b/kcontrol/colors/widgetcanvas.cpp
@@ -327,7 +327,7 @@ void WidgetCanvas::drawSampleWidgets()
#ifndef __osf__
TQPainter::redirect( vertScrollBar, &pm );
#endif
- vertScrollBar->tqrepaint();
+ vertScrollBar->repaint();
TQPainter::redirect( vertScrollBar, 0 );
vertScrollBar->hide();
@@ -592,5 +592,5 @@ void WidgetCanvas::drawSampleWidgets()
hotspots[ spot++ ] =
HotSpot( TQRect( 0, 0, width(), height() ), CSM_Background ); // ?
- tqrepaint( FALSE );
+ repaint( FALSE );
}