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.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/kotext/KoStyleManager.cpp b/lib/kotext/KoStyleManager.cpp
index e921ff1e..e5a7dbfa 100644
--- a/lib/kotext/KoStyleManager.cpp
+++ b/lib/kotext/KoStyleManager.cpp
@@ -370,11 +370,11 @@ void KoStyleManager::save() {
else
{
int indexParentStyle=styleIndex( m_inheritCombo->currentItem()-1 );
- KoParagStyle *tqparent=m_origStyles.at(indexParentStyle);
- if( tqparent==0L ) //If not found in the orig list (means its a new Style) look in the changeStyles list
- tqparent=m_changedStyles.at(indexParentStyle);
+ KoParagStyle *parent=m_origStyles.at(indexParentStyle);
+ if( parent==0L ) //If not found in the orig list (means its a new Style) look in the changeStyles list
+ parent=m_changedStyles.at(indexParentStyle);
- m_currentStyle->setParentStyle( tqparent );
+ m_currentStyle->setParentStyle( parent );
}
if ( d->cbIncludeInTOC )
@@ -447,7 +447,7 @@ void KoStyleManager::updateInheritStyle( KoParagStyle *s )
for ( KoParagStyle* p = m_changedStyles.first(); p != 0L; p = m_changedStyles.next() )
{
//when we remove style, we must replace inherite style to 0L
- //when tqparent style was removed.
+ //when parent style was removed.
//##########Laurent change inherited style attribute
if ( p->parentStyle() == s)
p->setParentStyle(0L);
@@ -649,8 +649,8 @@ void KoStyleManager::renameStyle(const TQString &theText) {
/////////////
-KoStyleParagTab::KoStyleParagTab( TQWidget * tqparent )
- : KoStyleManagerTab( tqparent )
+KoStyleParagTab::KoStyleParagTab( TQWidget * parent )
+ : KoStyleManagerTab( parent )
{
( new TQVBoxLayout( this ) )->setAutoAdd( true );
m_widget = 0L;
@@ -677,8 +677,8 @@ void KoStyleParagTab::resizeEvent( TQResizeEvent *e )
if ( m_widget ) m_widget->resize( size() );
}
-KoStyleFontTab::KoStyleFontTab( TQWidget * tqparent )
- : KoStyleManagerTab( tqparent )
+KoStyleFontTab::KoStyleFontTab( TQWidget * parent )
+ : KoStyleManagerTab( parent )
{
( new TQVBoxLayout( this ) )->setAutoAdd( true );
TQTabWidget *fontTabContainer = new TQTabWidget( this );