diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:23:31 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-21 14:23:31 -0600 |
commit | 36b1e019b76f39cca8fc81f6d4df544f1c94c179 (patch) | |
tree | 3ca2f4886d1a2810b952164dd1b0f3e92ef6bf3a /kbabel/catalogmanager/libcvs | |
parent | f78838f2f736acc2b235d8b680f3379a07a6d372 (diff) | |
download | tdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.tar.gz tdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kbabel/catalogmanager/libcvs')
-rw-r--r-- | kbabel/catalogmanager/libcvs/cvsdialog.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kbabel/catalogmanager/libcvs/cvsdialog.cpp b/kbabel/catalogmanager/libcvs/cvsdialog.cpp index ef964568..7532320a 100644 --- a/kbabel/catalogmanager/libcvs/cvsdialog.cpp +++ b/kbabel/catalogmanager/libcvs/cvsdialog.cpp @@ -69,7 +69,7 @@ CVSDialog::CVSDialog( CVS::Command cmd, TQWidget * parent, KSharedConfig* config TQString temp; - TQVBoxLayout * tqlayout = new TQVBoxLayout( this, 6, 6, "MAIN LAYOUT" ); + TQVBoxLayout * layout = new TQVBoxLayout( this, 6, 6, "MAIN LAYOUT" ); // Set the label's text depending on the CVS command. switch ( cmd ) { @@ -86,11 +86,11 @@ CVSDialog::CVSDialog( CVS::Command cmd, TQWidget * parent, KSharedConfig* config temp = i18n( "Get diff for the following files:" ); break; } - tqlayout->addWidget( new TQLabel( temp, this ) ); + layout->addWidget( new TQLabel( temp, this ) ); // Widget for showing the list of files. filebox = new TQListBox( this ); - tqlayout->addWidget( filebox ); + layout->addWidget( filebox ); // Add special widgets for 'cvs commit'. if ( cmd == CVS::Commit ) { @@ -101,21 +101,21 @@ CVSDialog::CVSDialog( CVS::Command cmd, TQWidget * parent, KSharedConfig* config oldMessages = new TQComboBox( this ); oldMessages->setDuplicatesEnabled( false ); label->setBuddy( oldMessages ); - tqlayout->addWidget( label ); - tqlayout->addWidget( oldMessages ); + layout->addWidget( label ); + layout->addWidget( oldMessages ); // Textfield for entering a log message. label = new TQLabel( i18n( "&Log message:" ), this ); logedit = new TQTextEdit( this ); label->setBuddy( logedit ); - tqlayout->addWidget( label ); - tqlayout->addWidget( logedit ); + layout->addWidget( label ); + layout->addWidget( logedit ); label = new TQLabel( i18n( "E&ncoding:" ), this ); m_encodingComboBox = new KComboBox( this ); label->setBuddy( m_encodingComboBox ); - tqlayout->addWidget( label ); - tqlayout->addWidget( m_encodingComboBox ); + layout->addWidget( label ); + layout->addWidget( m_encodingComboBox ); TQStringList encodingList; // The last encoding will be added at the top of the list, when the seetings will be read. encodingList << i18n( "Descriptive encoding name", "Recommended ( %1 )" ).arg( "UTF-8" ); @@ -156,17 +156,17 @@ CVSDialog::CVSDialog( CVS::Command cmd, TQWidget * parent, KSharedConfig* config cancelBtn = new TQPushButton( i18n( "C&ancel" ), this ); buttons->addWidget( cancelBtn ); - tqlayout->addLayout( buttons ); + layout->addLayout( buttons ); TQFrame * line = new TQFrame( this ); line->setFrameStyle( TQFrame::HLine | TQFrame::Sunken ); - tqlayout->addWidget( line ); + layout->addWidget( line ); - tqlayout->addWidget( new TQLabel( i18n( "Command output:" ), this ) ); + layout->addWidget( new TQLabel( i18n( "Command output:" ), this ) ); output = new TQTextEdit( this ); output->setReadOnly( true ); - tqlayout->addWidget( output ); + layout->addWidget( output ); resize( TQSize( 600, 450 ).expandedTo( minimumSizeHint( ) ) ); |