diff options
Diffstat (limited to 'konversation/src/highlight_preferences.cpp')
-rw-r--r-- | konversation/src/highlight_preferences.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/konversation/src/highlight_preferences.cpp b/konversation/src/highlight_preferences.cpp index 4c782a3..e3efff5 100644 --- a/konversation/src/highlight_preferences.cpp +++ b/konversation/src/highlight_preferences.cpp @@ -35,8 +35,8 @@ #include <kiconloader.h> -Highlight_Config::Highlight_Config(TQWidget* parent, const char* name) - : Highlight_ConfigUI(parent,name) +Highlight_Config::Highlight_Config(TQWidget* tqparent, const char* name) + : Highlight_ConfigUI(tqparent,name) { // reset flag to defined state (used to block signals when just selecting a new item) newItemSelected=false; @@ -228,7 +228,7 @@ void Highlight_Config::highlightColorChanged(const TQColor& newColor) if(!newItemSelected && item) { item->setColor(newColor); - item->repaint(); + item->tqrepaint(); emit modified(); } } @@ -327,7 +327,7 @@ void Highlight_Config::saveSettings() int i = 0; for(Highlight* hl = hiList.first(); hl; hl = hiList.next()) { - config->setGroup(TQString("Highlight%1").arg(i)); + config->setGroup(TQString("Highlight%1").tqarg(i)); config->writeEntry("Pattern", hl->getPattern()); config->writeEntry("RegExp", hl->getRegExp()); config->writeEntry("Color", hl->getColor()); @@ -339,9 +339,9 @@ void Highlight_Config::saveSettings() Preferences::setHighlightList(hiList); // Remove unused entries... - while(config->hasGroup(TQString("Highlight%1").arg(i))) + while(config->hasGroup(TQString("Highlight%1").tqarg(i))) { - config->deleteGroup(TQString("Highlight%1").arg(i)); + config->deleteGroup(TQString("Highlight%1").tqarg(i)); i++; } |