diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:49 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-04 03:15:18 +0200 |
commit | a3f1234ece748a30d118e4b6f8333c19505bd516 (patch) | |
tree | f86bf3eb14b004c4e2e3bf9bf36e321dee3ce6b5 /ark | |
parent | 632b7d40cf87562965abb5c7dffc1bae509bad2c (diff) | |
download | tdeutils-a3f1234ece748a30d118e4b6f8333c19505bd516.tar.gz tdeutils-a3f1234ece748a30d118e4b6f8333c19505bd516.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit 89856e749bf14e63fed55a8f3436ea9a6f19667a)
Diffstat (limited to 'ark')
-rw-r--r-- | ark/arkviewer.cpp | 2 | ||||
-rw-r--r-- | ark/extractiondialog.cpp | 4 | ||||
-rw-r--r-- | ark/general.ui | 2 | ||||
-rw-r--r-- | ark/rar.cpp | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/ark/arkviewer.cpp b/ark/arkviewer.cpp index 21cd510..13dbfbe 100644 --- a/ark/arkviewer.cpp +++ b/ark/arkviewer.cpp @@ -40,7 +40,7 @@ ArkViewer::ArkViewer( TQWidget * parent, const char * name ) : KDialogBase( parent, name, false, TQString(), Close ), m_part( 0 ) { m_widget = new TQVBox( this ); - m_widget->tqlayout()->setSpacing( 10 ); + m_widget->layout()->setSpacing( 10 ); connect( this, TQT_SIGNAL( finished() ), this, TQT_SLOT( slotFinished() ) ); diff --git a/ark/extractiondialog.cpp b/ark/extractiondialog.cpp index 26b8eaf..cf95d48 100644 --- a/ark/extractiondialog.cpp +++ b/ark/extractiondialog.cpp @@ -69,7 +69,7 @@ ExtractionDialog::ExtractionDialog( TQWidget *parent, const char *name, TQVBox *vbox = makeVBoxMainWidget(); TQHBox *header = new TQHBox( vbox ); - header->tqlayout()->setSpacing( 10 ); + header->layout()->setSpacing( 10 ); TQLabel *icon = new TQLabel( header ); icon->setPixmap( DesktopIcon( "ark_extract" ) ); @@ -78,7 +78,7 @@ ExtractionDialog::ExtractionDialog( TQWidget *parent, const char *name, if ( enableSelected ) { TQVBox *whichFiles = new TQVBox( header ); - whichFiles->tqlayout()->setSpacing( 6 ); + whichFiles->layout()->setSpacing( 6 ); new TQLabel( TQString( "<qt><b><font size=\"+1\">%1</font></b></qt>" ) .arg( i18n( "Extract:" ) ), whichFiles ); TQHButtonGroup *filesGroup = new TQHButtonGroup( whichFiles ); diff --git a/ark/general.ui b/ark/general.ui index ccd54c3..18cb405 100644 --- a/ark/general.ui +++ b/ark/general.ui @@ -37,7 +37,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout1</cstring> + <cstring>layout1</cstring> </property> <hbox> <property name="name"> diff --git a/ark/rar.cpp b/ark/rar.cpp index 1cebe05..5369e89 100644 --- a/ark/rar.cpp +++ b/ark/rar.cpp @@ -90,10 +90,10 @@ RarArch::RarArch( ArkWidget *_gui, const TQString & _fileName ) bool RarArch::processLine( const TQCString &line ) { - TQString tqunicode_line; + TQString unicode_line; TQTextCodec *codec = TQTextCodec::codecForLocale(); - tqunicode_line = codec->toUnicode( line ); + unicode_line = codec->toUnicode( line ); if ( m_isFirstLine ) { |