diff options
Diffstat (limited to 'ksirc/KSPrefs/page_colors.cpp')
-rw-r--r-- | ksirc/KSPrefs/page_colors.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ksirc/KSPrefs/page_colors.cpp b/ksirc/KSPrefs/page_colors.cpp index e7b36af4..a31acb64 100644 --- a/ksirc/KSPrefs/page_colors.cpp +++ b/ksirc/KSPrefs/page_colors.cpp @@ -19,7 +19,7 @@ #include <kcolorbutton.h> #include <kdebug.h> -PageColors::PageColors( TQWidget *parent, const char *name ) : PageColorsBase( parent, name) +PageColors::PageColors( TQWidget *tqparent, const char *name ) : PageColorsBase( tqparent, name) { changing = 0; m_dcol.setAutoDelete(true); @@ -162,13 +162,13 @@ void PageColors::readConfig( const KSOColors *opts ) conf->setGroup("ColourSchemes"); themeLB->clear(); TQStringList names = conf->readListEntry("Names"); - if(names.contains("Custom")){ - names.remove(names.find("Custom")); + if(names.tqcontains("Custom")){ + names.remove(names.tqfind("Custom")); } names.prepend("Custom"); themeLB->insertStringList(names); - if(themeLB->findItem(ksopts->colourTheme, Qt::ExactMatch)) - themeLB->setCurrentItem(themeLB->findItem(ksopts->colourTheme, Qt::ExactMatch)); + if(themeLB->tqfindItem(ksopts->colourTheme, TQt::ExactMatch)) + themeLB->setCurrentItem(themeLB->tqfindItem(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.replace(name, new KSOColors()); + m_dcol.tqreplace(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->findItem(name, Qt::ExactMatch) == 0){ + if(themeLB->tqfindItem(name, TQt::ExactMatch) == 0){ themeLB->insertItem(name); } - themeLB->setCurrentItem(themeLB->findItem(name, Qt::ExactMatch)); + themeLB->setCurrentItem(themeLB->tqfindItem(name, TQt::ExactMatch)); } |