diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:23:49 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-21 14:23:49 -0600 |
commit | 89856e749bf14e63fed55a8f3436ea9a6f19667a (patch) | |
tree | 4aafeedd270ea6358ae47dbe41758758e7a3c780 /kregexpeditor/charselector.cpp | |
parent | 7ea89afa119615e547323a7a482ea7fef8e67029 (diff) | |
download | tdeutils-89856e749bf14e63fed55a8f3436ea9a6f19667a.tar.gz tdeutils-89856e749bf14e63fed55a8f3436ea9a6f19667a.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kregexpeditor/charselector.cpp')
-rw-r--r-- | kregexpeditor/charselector.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kregexpeditor/charselector.cpp b/kregexpeditor/charselector.cpp index 32e2a79..04c6f5d 100644 --- a/kregexpeditor/charselector.cpp +++ b/kregexpeditor/charselector.cpp @@ -43,10 +43,10 @@ class StackContainer :public TQWidget public: StackContainer( TQWidget* child, TQWidget* parent ) : TQWidget( parent ) { - TQHBoxLayout* tqlayout = new TQHBoxLayout( this ); + TQHBoxLayout* layout = new TQHBoxLayout( this ); child->reparent( this, TQPoint(0,0), false ); - tqlayout->addWidget( child ); - tqlayout->addStretch( 1 ); + layout->addWidget( child ); + layout->addStretch( 1 ); } }; @@ -54,7 +54,7 @@ CharSelector::CharSelector( TQWidget* parent, const char* name ) :TQWidget( parent, name ), _oldIndex(0) { TQStringList items; - TQHBoxLayout* tqlayout = new TQHBoxLayout( this, 0, 6 ); + TQHBoxLayout* layout = new TQHBoxLayout( this, 0, 6 ); _type = new TQComboBox( this, "_type" ); items << i18n("Normal Character") @@ -68,10 +68,10 @@ CharSelector::CharSelector( TQWidget* parent, const char* name ) << i18n("TheQt::Horizontal Tab Character (\\t)") << i18n("TheQt::Vertical Tab Character (\\v)"); _type->insertStringList( items ); - tqlayout->addWidget( _type ); + layout->addWidget( _type ); _stack = new TQWidgetStack( this, "_stack" ); - tqlayout->addWidget( _stack ); + layout->addWidget( _stack ); _normal = new LimitedCharLineEdit( LimitedCharLineEdit::NORMAL, 0, "_normal" ); _stack->addWidget( new StackContainer( _normal, _stack ), 0 ); |