summaryrefslogtreecommitdiffstats
path: root/smb4k/dialogs/smb4ksynchronizationdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'smb4k/dialogs/smb4ksynchronizationdialog.cpp')
-rw-r--r--smb4k/dialogs/smb4ksynchronizationdialog.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/smb4k/dialogs/smb4ksynchronizationdialog.cpp b/smb4k/dialogs/smb4ksynchronizationdialog.cpp
index 4b37c89..ee8d178 100644
--- a/smb4k/dialogs/smb4ksynchronizationdialog.cpp
+++ b/smb4k/dialogs/smb4ksynchronizationdialog.cpp
@@ -24,7 +24,7 @@
***************************************************************************/
// TQt includes
-#include <tqlayout.h>
+#include <layout.h>
#include <tqframe.h>
#include <tqlabel.h>
@@ -53,9 +53,9 @@ m_share( share )
setButtonGuiItem( User2, KGuiItem( i18n( "Swap Paths" ), TQString(), i18n( "Swap source and destination" ) ) );
TQFrame *frame = plainPage();
- TQGridLayout *tqlayout = new TQGridLayout( frame );
- tqlayout->setSpacing( 5 );
- tqlayout->setMargin( 0 );
+ TQGridLayout *layout = new TQGridLayout( frame );
+ layout->setSpacing( 5 );
+ layout->setMargin( 0 );
TQLabel *source_label = new TQLabel( i18n( "Source:" ), frame, "SourceURLLabel" );
KURLRequester *source = new KURLRequester( m_share->path()+"/", frame, "SourceURL" );
@@ -99,14 +99,14 @@ m_share( share )
transfer_widget->setEnabled( false );
- tqlayout->addWidget( source_label, 0, 0, 0 );
- tqlayout->addWidget( source, 0, 1, 0 );
- tqlayout->addWidget( destination_label, 1, 0, 0 );
- tqlayout->addWidget( destination, 1, 1, 0 );
- tqlayout->addMultiCellWidget( current_file, 2, 2, 0, 1, 0 );
- tqlayout->addMultiCellWidget( individual, 3, 3, 0, 1, 0 );
- tqlayout->addMultiCellWidget( total, 4, 4, 0, 1, 0 );
- tqlayout->addMultiCellWidget( transfer_widget, 5, 6, 0, 1, 0 );
+ layout->addWidget( source_label, 0, 0, 0 );
+ layout->addWidget( source, 0, 1, 0 );
+ layout->addWidget( destination_label, 1, 0, 0 );
+ layout->addWidget( destination, 1, 1, 0 );
+ layout->addMultiCellWidget( current_file, 2, 2, 0, 1, 0 );
+ layout->addMultiCellWidget( individual, 3, 3, 0, 1, 0 );
+ layout->addMultiCellWidget( total, 4, 4, 0, 1, 0 );
+ layout->addMultiCellWidget( transfer_widget, 5, 6, 0, 1, 0 );
// Connections
connect( Smb4KCore::synchronizer(), TQT_SIGNAL( progress( const Smb4KSynchronizationInfo & ) ),
@@ -116,7 +116,7 @@ m_share( share )
this, TQT_SLOT( slotSynchronizationFinished() ) );
- setFixedSize( (tqsizeHint().width() > 350 ? tqsizeHint().width() : 350), tqsizeHint().height() );
+ setFixedSize( (sizeHint().width() > 350 ? sizeHint().width() : 350), sizeHint().height() );
}
@@ -207,7 +207,7 @@ void Smb4KSynchronizationDialog::slotProgress( const Smb4KSynchronizationInfo &i
if ( info.totalFileNumber() != -1 && info.processedFileNumber() != -1 )
{
- transferred->setText( TQString( "%1 / %2" ).tqarg( info.processedFileNumber() ).tqarg( info.totalFileNumber() ) );
+ transferred->setText( TQString( "%1 / %2" ).arg( info.processedFileNumber() ).arg( info.totalFileNumber() ) );
}
if ( !info.transferRate().isEmpty() )