summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/ktabwidgettest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/tests/ktabwidgettest.cpp')
-rw-r--r--kdeui/tests/ktabwidgettest.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kdeui/tests/ktabwidgettest.cpp b/kdeui/tests/ktabwidgettest.cpp
index f67dd17a9..32ed5c89f 100644
--- a/kdeui/tests/ktabwidgettest.cpp
+++ b/kdeui/tests/ktabwidgettest.cpp
@@ -39,51 +39,51 @@ Test::Test( TQWidget* parent, const char *name )
mWidget->setTabReorderingEnabled( true );
TQWidget * grid = new TQWidget(this);
- TQGridLayout * gridtqlayout = new TQGridLayout( grid, 5, 2 );
+ TQGridLayout * gridlayout = new TQGridLayout( grid, 5, 2 );
TQPushButton * addTab = new TQPushButton( "Add Tab", grid );
- gridtqlayout->addWidget( addTab, 0, 0 );
+ gridlayout->addWidget( addTab, 0, 0 );
connect( addTab, TQT_SIGNAL( clicked() ), TQT_SLOT( addTab() ) );
TQPushButton * removeTab = new TQPushButton( "Remove Current Tab", grid );
- gridtqlayout->addWidget( removeTab, 0, 1 );
+ gridlayout->addWidget( removeTab, 0, 1 );
connect( removeTab, TQT_SIGNAL( clicked() ), TQT_SLOT( removeCurrentTab() ) );
mLeftButton = new TQCheckBox( "Show left button", grid );
- gridtqlayout->addWidget( mLeftButton, 1, 0 );
+ gridlayout->addWidget( mLeftButton, 1, 0 );
connect( mLeftButton, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( toggleLeftButton(bool) ) );
mLeftButton->setChecked(true);
TQCheckBox * leftPopup = new TQCheckBox( "Enable left popup", grid );
- gridtqlayout->addWidget( leftPopup, 2, 0 );
+ gridlayout->addWidget( leftPopup, 2, 0 );
connect( leftPopup, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( toggleLeftPopup(bool) ) );
leftPopup->setChecked(true);
mRightButton = new TQCheckBox( "Show right button", grid );
- gridtqlayout->addWidget( mRightButton, 1, 1 );
+ gridlayout->addWidget( mRightButton, 1, 1 );
connect( mRightButton, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( toggleRightButton(bool) ) );
mRightButton->setChecked(true);
TQCheckBox * rightPopup = new TQCheckBox( "Enable right popup", grid );
- gridtqlayout->addWidget( rightPopup, 2, 1 );
+ gridlayout->addWidget( rightPopup, 2, 1 );
connect( rightPopup, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( toggleRightPopup(bool) ) );
rightPopup->setChecked(true);
mTabsBottom = new TQCheckBox( "Show tabs at bottom", grid );
- gridtqlayout->addWidget( mTabsBottom, 3, 0 );
+ gridlayout->addWidget( mTabsBottom, 3, 0 );
connect( mTabsBottom, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( toggleTabPosition(bool) ) );
- TQCheckBox * tabtqshape = new TQCheckBox( "Triangular tab tqshape", grid );
- gridtqlayout->addWidget( tabtqshape, 3, 1 );
- connect( tabtqshape, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( toggleTabShape(bool) ) );
+ TQCheckBox * tabshape = new TQCheckBox( "Triangular tab shape", grid );
+ gridlayout->addWidget( tabshape, 3, 1 );
+ connect( tabshape, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( toggleTabShape(bool) ) );
TQCheckBox *tabClose = new TQCheckBox( "Close button on icon hover", grid );
- gridtqlayout->addWidget( tabClose, 4, 0 );
+ gridlayout->addWidget( tabClose, 4, 0 );
connect( tabClose, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( toggleCloseButtons(bool) ) );
tabClose->setChecked(true);
TQCheckBox * showlabels = new TQCheckBox( "Show labels", grid );
- gridtqlayout->addWidget( showlabels, 4, 1 );
+ gridlayout->addWidget( showlabels, 4, 1 );
connect( showlabels, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( toggleLabels(bool) ) );
}