diff options
Diffstat (limited to 'konversation/src/highlight_preferences.cpp')
-rw-r--r-- | konversation/src/highlight_preferences.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/konversation/src/highlight_preferences.cpp b/konversation/src/highlight_preferences.cpp index 3b72fda..c59a545 100644 --- a/konversation/src/highlight_preferences.cpp +++ b/konversation/src/highlight_preferences.cpp @@ -228,7 +228,7 @@ void Highlight_Config::highlightColorChanged(const TQColor& newColor) if(!newItemSelected && item) { item->setColor(newColor); - item->tqrepaint(); + item->repaint(); 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").tqarg(i)); + config->setGroup(TQString("Highlight%1").arg(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").tqarg(i))) + while(config->hasGroup(TQString("Highlight%1").arg(i))) { - config->deleteGroup(TQString("Highlight%1").tqarg(i)); + config->deleteGroup(TQString("Highlight%1").arg(i)); i++; } |