summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoStyleManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoStyleManager.cpp')
-rw-r--r--lib/kotext/KoStyleManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kotext/KoStyleManager.cpp b/lib/kotext/KoStyleManager.cpp
index 19840621..2c759282 100644
--- a/lib/kotext/KoStyleManager.cpp
+++ b/lib/kotext/KoStyleManager.cpp
@@ -345,7 +345,7 @@ void KoStyleManager::updateGUI() {
void KoStyleManager::updatePreview()
{
d->preview->setStyle(m_currentStyle);
- d->preview->tqrepaint(true);
+ d->preview->repaint(true);
}
void KoStyleManager::save() {
@@ -408,7 +408,7 @@ TQString KoStyleManager::generateUniqueName()
void KoStyleManager::addStyle() {
save();
- TQString str = i18n( "New Style Template (%1)" ).tqarg(numStyles++);
+ TQString str = i18n( "New Style Template (%1)" ).arg(numStyles++);
if ( m_currentStyle )
{
m_currentStyle = new KoParagStyle( *m_currentStyle ); // Create a new style, initializing from the current one