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 2c759282..5a99c38b 100644
--- a/lib/kotext/KoStyleManager.cpp
+++ b/lib/kotext/KoStyleManager.cpp
@@ -86,7 +86,7 @@ KoStyleManager::KoStyleManager( TQWidget *_parent, KoUnit::Unit unit,
newTab = new KoStyleParagTab( m_tabs );
KoParagLayoutWidget *decorations = new KoParagDecorationWidget( newTab );
- decorations->tqlayout()->setMargin(KDialog::marginHint());
+ decorations->layout()->setMargin(KDialog::marginHint());
newTab->setWidget( decorations );
addTab( newTab );
@@ -122,7 +122,7 @@ void KoStyleManager::addTab( KoStyleManagerTab * tab )
{
m_tabsList.append( tab );
m_tabs->insertTab( tab, tab->tabName() );
- tab->tqlayout()->activate();
+ tab->layout()->activate();
}
void KoStyleManager::setupWidget(const KoStyleCollection& styleCollection)