summaryrefslogtreecommitdiffstats
path: root/kword/KWEditPersonnalExpression.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWEditPersonnalExpression.cpp')
-rw-r--r--kword/KWEditPersonnalExpression.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/kword/KWEditPersonnalExpression.cpp b/kword/KWEditPersonnalExpression.cpp
index 281bf033..4a870af7 100644
--- a/kword/KWEditPersonnalExpression.cpp
+++ b/kword/KWEditPersonnalExpression.cpp
@@ -40,23 +40,23 @@ KWEditPersonnalExpression::KWEditPersonnalExpression( TQWidget *parent, const ch
setMainWidget(page);
TQGridLayout* form1Layout = new TQGridLayout( page, 1, 1, 0, KDialog::spacingHint(), "form1Layout");
- TQHBoxLayout *hortqlayout1 = new TQHBoxLayout( 0, 0, KDialog::spacingHint(), "hortqlayout1");
+ TQHBoxLayout *horlayout1 = new TQHBoxLayout( 0, 0, KDialog::spacingHint(), "horlayout1");
TQLabel *groupnameLabel = new TQLabel(i18n("Group name:"), page, "groupnameLabel" );
- hortqlayout1->addWidget( groupnameLabel );
+ horlayout1->addWidget( groupnameLabel );
m_groupLineEdit = new TQLineEdit( page, "groupLineEdit" );
- hortqlayout1->addWidget( m_groupLineEdit );
+ horlayout1->addWidget( m_groupLineEdit );
- form1Layout->addLayout( hortqlayout1, 0, 1 );
+ form1Layout->addLayout( horlayout1, 0, 1 );
TQGroupBox *expressionGroupBox = new TQGroupBox( page, "expressionGroupBox" );
expressionGroupBox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 1, 0, expressionGroupBox->sizePolicy().hasHeightForWidth() ) );
expressionGroupBox->setTitle( i18n( "Expressions" ) );
expressionGroupBox->setColumnLayout(0, Qt::Vertical );
- expressionGroupBox->tqlayout()->setSpacing( KDialog::spacingHint() );
- expressionGroupBox->tqlayout()->setMargin( KDialog::marginHint() );
- TQVBoxLayout *expressionGroupBoxLayout = new TQVBoxLayout( expressionGroupBox->tqlayout() );
+ expressionGroupBox->layout()->setSpacing( KDialog::spacingHint() );
+ expressionGroupBox->layout()->setMargin( KDialog::marginHint() );
+ TQVBoxLayout *expressionGroupBoxLayout = new TQVBoxLayout( expressionGroupBox->layout() );
expressionGroupBoxLayout->setAlignment( TQt::AlignTop );
m_ExpressionsList = new TQListBox( expressionGroupBox, "listOfExpressions" );
@@ -66,36 +66,36 @@ KWEditPersonnalExpression::KWEditPersonnalExpression( TQWidget *parent, const ch
m_expressionLineEdit = new TQLineEdit( expressionGroupBox, "expressionLineEdit" );
expressionGroupBoxLayout->addWidget( m_expressionLineEdit );
- TQHBoxLayout *hortqlayout2 = new TQHBoxLayout( 0, 0, KDialog::spacingHint(), "hortqlayout2");
+ TQHBoxLayout *horlayout2 = new TQHBoxLayout( 0, 0, KDialog::spacingHint(), "horlayout2");
TQSpacerItem* spacer = new TQSpacerItem( 0, 0, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
- hortqlayout2->addItem( spacer );
+ horlayout2->addItem( spacer );
m_addExpression = new TQPushButton( i18n("&New"), expressionGroupBox, "m_addExpression" );
- hortqlayout2->addWidget( m_addExpression );
+ horlayout2->addWidget( m_addExpression );
m_delExpression = new TQPushButton( i18n("&Delete"), expressionGroupBox, "m_delExpression" );
- hortqlayout2->addWidget( m_delExpression );
- expressionGroupBoxLayout->addLayout( hortqlayout2 );
+ horlayout2->addWidget( m_delExpression );
+ expressionGroupBoxLayout->addLayout( horlayout2 );
form1Layout->addWidget( expressionGroupBox, 1, 1 );
- TQVBoxLayout *verttqlayout = new TQVBoxLayout( 0, 0, KDialog::spacingHint(), "verttqlayout");
+ TQVBoxLayout *vertlayout = new TQVBoxLayout( 0, 0, KDialog::spacingHint(), "vertlayout");
m_groupList = new TQListBox( page, "groupList" );
m_groupList->insertItem( "group1" );
m_groupList->setMaximumSize( TQSize( 200, 32767 ) );
- verttqlayout->addWidget( m_groupList );
+ vertlayout->addWidget( m_groupList );
- TQHBoxLayout *hortqlayout3 = new TQHBoxLayout( 0, 0, KDialog::spacingHint(), "hortqlayout3");
+ TQHBoxLayout *horlayout3 = new TQHBoxLayout( 0, 0, KDialog::spacingHint(), "horlayout3");
m_addGroup = new TQPushButton( i18n("New"), page, "m_addGroup" );
- hortqlayout3->addWidget( m_addGroup );
+ horlayout3->addWidget( m_addGroup );
m_delGroup = new TQPushButton(i18n("Delete"), page, "m_delGroup" );
- hortqlayout3->addWidget( m_delGroup );
- verttqlayout->addLayout( hortqlayout3 );
+ horlayout3->addWidget( m_delGroup );
+ vertlayout->addLayout( horlayout3 );
- form1Layout->addMultiCellLayout( verttqlayout, 0, 1, 0, 0 );
+ form1Layout->addMultiCellLayout( vertlayout, 0, 1, 0, 0 );
loadFile();
if(listExpression.count() == 0)