summaryrefslogtreecommitdiffstats
path: root/kolourpaint/widgets/kptoolwidgetbase.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:31:39 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:31:39 -0600
commit45f529de247fc4b3662f6b474abe03fe904306ec (patch)
treed4b70147f7b0aeda4c1cb484553dc8ae048eb7ec /kolourpaint/widgets/kptoolwidgetbase.cpp
parentec1fddcd0d6663ad273af85357f04abbc5689468 (diff)
downloadtdegraphics-45f529de247fc4b3662f6b474abe03fe904306ec.tar.gz
tdegraphics-45f529de247fc4b3662f6b474abe03fe904306ec.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kolourpaint/widgets/kptoolwidgetbase.cpp')
-rw-r--r--kolourpaint/widgets/kptoolwidgetbase.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kolourpaint/widgets/kptoolwidgetbase.cpp b/kolourpaint/widgets/kptoolwidgetbase.cpp
index 3d1d3cff..18177804 100644
--- a/kolourpaint/widgets/kptoolwidgetbase.cpp
+++ b/kolourpaint/widgets/kptoolwidgetbase.cpp
@@ -175,10 +175,10 @@ TQPair <int, int> kpToolWidgetBase::defaultSelectedRowAndCol () const
KConfigGroupSaver cfgGroupSaver (kapp->config (), kpSettingsGroupTools);
KConfigBase *cfg = cfgGroupSaver.config ();
- TQString nameString = TQString::tqfromLatin1 (name ());
+ TQString nameString = TQString::fromLatin1 (name ());
- row = cfg->readNumEntry (nameString + TQString::tqfromLatin1 (" Row"), -1);
- col = cfg->readNumEntry (nameString + TQString::tqfromLatin1 (" Col"), -1);
+ row = cfg->readNumEntry (nameString + TQString::fromLatin1 (" Row"), -1);
+ col = cfg->readNumEntry (nameString + TQString::fromLatin1 (" Col"), -1);
}
#if DEBUG_KP_TOOL_WIDGET_BASE
@@ -218,9 +218,9 @@ void kpToolWidgetBase::saveSelectedAsDefault () const
KConfigGroupSaver cfgGroupSaver (kapp->config (), kpSettingsGroupTools);
KConfigBase *cfg = cfgGroupSaver.config ();
- TQString nameString = TQString::tqfromLatin1 (name ());
- cfg->writeEntry (nameString + TQString::tqfromLatin1 (" Row"), m_selectedRow);
- cfg->writeEntry (nameString + TQString::tqfromLatin1 (" Col"), m_selectedCol);
+ TQString nameString = TQString::fromLatin1 (name ());
+ cfg->writeEntry (nameString + TQString::fromLatin1 (" Row"), m_selectedRow);
+ cfg->writeEntry (nameString + TQString::fromLatin1 (" Col"), m_selectedCol);
cfg->sync ();
}