summaryrefslogtreecommitdiffstats
path: root/kbabel/commonui/cmdedit.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:31 -0600
commit36b1e019b76f39cca8fc81f6d4df544f1c94c179 (patch)
tree3ca2f4886d1a2810b952164dd1b0f3e92ef6bf3a /kbabel/commonui/cmdedit.cpp
parentf78838f2f736acc2b235d8b680f3379a07a6d372 (diff)
downloadtdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.tar.gz
tdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kbabel/commonui/cmdedit.cpp')
-rw-r--r--kbabel/commonui/cmdedit.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kbabel/commonui/cmdedit.cpp b/kbabel/commonui/cmdedit.cpp
index 2620ea3a..8d3658f4 100644
--- a/kbabel/commonui/cmdedit.cpp
+++ b/kbabel/commonui/cmdedit.cpp
@@ -45,38 +45,38 @@
CmdEdit::CmdEdit(TQWidget* parent, const char* name)
: TQWidget(parent,name)
{
- TQGridLayout* tqlayout = new TQGridLayout( this , 1 , 1 );
- tqlayout->setSpacing( KDialog::spacingHint() );
+ TQGridLayout* layout = new TQGridLayout( this , 1 , 1 );
+ layout->setSpacing( KDialog::spacingHint() );
TQLabel* nameLabel = new TQLabel( i18n("Command &Label:"), this);
TQLabel* cmdLabel = new TQLabel( i18n("Co&mmand:"), this);
- tqlayout->addWidget( nameLabel, 0 , 0 );
- tqlayout->addWidget( cmdLabel, 0 , 1 );
+ layout->addWidget( nameLabel, 0 , 0 );
+ layout->addWidget( cmdLabel, 0 , 1 );
_cmdNameEdit = new TQLineEdit( this , "cmdNameEdit" );
_cmdNameEdit->setMaxLength(20);
nameLabel->setBuddy(_cmdNameEdit);
- tqlayout->addWidget( _cmdNameEdit , 1 , 0 );
+ layout->addWidget( _cmdNameEdit , 1 , 0 );
_cmdEdit = new TQLineEdit( this , "cmdEdit" );
cmdLabel->setBuddy(_cmdEdit);
- tqlayout->addWidget( _cmdEdit , 1 , 1 );
+ layout->addWidget( _cmdEdit , 1 , 1 );
_addButton = new TQPushButton( i18n("&Add"), this );
_addButton->setEnabled(false);
- tqlayout->addWidget( _addButton , 1 , 2 );
+ layout->addWidget( _addButton , 1 , 2 );
_editButton = new TQPushButton( i18n("&Edit"), this );
_editButton->setEnabled(false);
- tqlayout->addWidget( _editButton , 3 , 2 );
+ layout->addWidget( _editButton , 3 , 2 );
_removeButton = new TQPushButton( i18n("&Remove"), this );
_removeButton->setEnabled(false);
- tqlayout->addWidget( _removeButton , 4 , 2 );
+ layout->addWidget( _removeButton , 4 , 2 );
TQHBoxLayout* hbox = new TQHBoxLayout();
- tqlayout->addLayout(hbox,5,2);
+ layout->addLayout(hbox,5,2);
_upButton = new TQToolButton(UpArrow,this);
_upButton->setFixedSize(20,20);
@@ -90,21 +90,21 @@ CmdEdit::CmdEdit(TQWidget* parent, const char* name)
_commandNames = new TQListBox( this , "commandNamesBox" );
_commandNames->setMinimumSize(100, 100);
- tqlayout->addMultiCellWidget( _commandNames , 3 , 6 , 0 , 0);
+ layout->addMultiCellWidget( _commandNames , 3 , 6 , 0 , 0);
_commands = new TQListBox( this , "commandsBox" );
_commands->setMinimumSize(160, 100);
- tqlayout->addMultiCellWidget( _commands , 3 , 6 , 1 ,1 );
+ layout->addMultiCellWidget( _commands , 3 , 6 , 1 ,1 );
- tqlayout->setColStretch(0,1);
- tqlayout->setColStretch(1,2);
- tqlayout->setColStretch(2,0);
+ layout->setColStretch(0,1);
+ layout->setColStretch(1,2);
+ layout->setColStretch(2,0);
- tqlayout->addRowSpacing(2, KDialog::spacingHint());
- tqlayout->addRowSpacing(6, KDialog::spacingHint());
+ layout->addRowSpacing(2, KDialog::spacingHint());
+ layout->addRowSpacing(6, KDialog::spacingHint());
- setMinimumSize(tqlayout->sizeHint());
+ setMinimumSize(layout->sizeHint());
connect(_addButton , TQT_SIGNAL(clicked()) , this , TQT_SLOT(addCmd()) ) ;