From 89856e749bf14e63fed55a8f3436ea9a6f19667a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:23:49 -0600 Subject: Rename obsolete tq methods to standard names --- ark/arkviewer.cpp | 2 +- ark/extractiondialog.cpp | 4 ++-- ark/general.ui | 2 +- ark/rar.cpp | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'ark') 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( "%1" ) .arg( i18n( "Extract:" ) ), whichFiles ); TQHButtonGroup *filesGroup = new TQHButtonGroup( whichFiles ); diff --git a/ark/general.ui b/ark/general.ui index d849cfc..5f50883 100644 --- a/ark/general.ui +++ b/ark/general.ui @@ -37,7 +37,7 @@ - tqlayout1 + layout1 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 ) { -- cgit v1.2.3