summaryrefslogtreecommitdiffstats
path: root/ksirc/KSPrefs/page_colors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/KSPrefs/page_colors.cpp')
-rw-r--r--ksirc/KSPrefs/page_colors.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ksirc/KSPrefs/page_colors.cpp b/ksirc/KSPrefs/page_colors.cpp
index a31acb64..0aca72ed 100644
--- a/ksirc/KSPrefs/page_colors.cpp
+++ b/ksirc/KSPrefs/page_colors.cpp
@@ -162,13 +162,13 @@ void PageColors::readConfig( const KSOColors *opts )
conf->setGroup("ColourSchemes");
themeLB->clear();
TQStringList names = conf->readListEntry("Names");
- if(names.tqcontains("Custom")){
- names.remove(names.tqfind("Custom"));
+ if(names.contains("Custom")){
+ names.remove(names.find("Custom"));
}
names.prepend("Custom");
themeLB->insertStringList(names);
- if(themeLB->tqfindItem(ksopts->colourTheme, TQt::ExactMatch))
- themeLB->setCurrentItem(themeLB->tqfindItem(ksopts->colourTheme, TQt::ExactMatch));
+ if(themeLB->findItem(ksopts->colourTheme, TQt::ExactMatch))
+ themeLB->setCurrentItem(themeLB->findItem(ksopts->colourTheme, TQt::ExactMatch));
else
themeLB->setCurrentItem(0);
themeLE->setText(themeLB->currentText());
@@ -243,7 +243,7 @@ void PageColors::themeAddPB_clicked()
kdDebug(5008) << "Got add: " << themeLB->currentText() << endl;
- m_dcol.tqreplace(name, new KSOColors());
+ m_dcol.replace(name, new KSOColors());
m_dcol[name]->backgroundColor = backCBtn->color();
m_dcol[name]->selBackgroundColor = selBackCBtn->color();
@@ -257,11 +257,11 @@ void PageColors::themeAddPB_clicked()
m_dcol[name]->nickForeground = nickFGCBtn->color();
m_dcol[name]->nickBackground = nickBGCBtn->color();
- if(themeLB->tqfindItem(name, TQt::ExactMatch) == 0){
+ if(themeLB->findItem(name, TQt::ExactMatch) == 0){
themeLB->insertItem(name);
}
- themeLB->setCurrentItem(themeLB->tqfindItem(name, TQt::ExactMatch));
+ themeLB->setCurrentItem(themeLB->findItem(name, TQt::ExactMatch));
}