summaryrefslogtreecommitdiffstats
path: root/kdat/BackupProfileWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdat/BackupProfileWidget.cpp')
-rw-r--r--kdat/BackupProfileWidget.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kdat/BackupProfileWidget.cpp b/kdat/BackupProfileWidget.cpp
index 45acb56..7530d5c 100644
--- a/kdat/BackupProfileWidget.cpp
+++ b/kdat/BackupProfileWidget.cpp
@@ -33,26 +33,26 @@
#include "BackupProfileWidget.moc"
-BackupProfileWidget::BackupProfileWidget( TQWidget* parent, const char* name )
- : KTabCtl( parent, name )
+BackupProfileWidget::BackupProfileWidget( TQWidget* tqparent, const char* name )
+ : KTabCtl( tqparent, name )
{
TQWidget* one = new TQWidget( this );
addTab( one, i18n( "Backup" ) );
TQLabel* lbl1 = new TQLabel( i18n( "Archive name:" ), one );
- lbl1->setFixedSize( lbl1->sizeHint() );
+ lbl1->setFixedSize( lbl1->tqsizeHint() );
_archiveName = new TQLineEdit( one );
- _archiveName->setFixedHeight( _archiveName->sizeHint().height() );
+ _archiveName->setFixedHeight( _archiveName->tqsizeHint().height() );
TQLabel* lbl2 = new TQLabel( i18n( "Working folder:" ), one );
- lbl2->setFixedSize( lbl2->sizeHint() );
+ lbl2->setFixedSize( lbl2->tqsizeHint() );
_workingDir = new TQComboBox( FALSE, one );
- _workingDir->setFixedHeight( _workingDir->sizeHint().height() );
+ _workingDir->setFixedHeight( _workingDir->tqsizeHint().height() );
TQLabel* lbl3 = new TQLabel( i18n( "Backup files:" ), one );
- lbl3->setFixedHeight( lbl3->sizeHint().height() );
+ lbl3->setFixedHeight( lbl3->tqsizeHint().height() );
_files = new TQListBox( one );
@@ -60,20 +60,20 @@ BackupProfileWidget::BackupProfileWidget( TQWidget* parent, const char* name )
addTab( two, i18n( "Tar Options" ) );
_oneFilesystem = new TQCheckBox( i18n( "Stay on one filesystem" ), two );
- _oneFilesystem->setFixedHeight( _oneFilesystem->sizeHint().height() );
+ _oneFilesystem->setFixedHeight( _oneFilesystem->tqsizeHint().height() );
_incremental = new TQCheckBox( i18n( "GNU listed incremental" ), two );
- _incremental->setFixedHeight( _incremental->sizeHint().height() );
+ _incremental->setFixedHeight( _incremental->tqsizeHint().height() );
connect( _incremental, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotIncrementalToggled( bool ) ) );
_snapshotLabel = new TQLabel( i18n( "Snapshot file:" ), two );
- _snapshotLabel->setFixedSize( _snapshotLabel->sizeHint() );
+ _snapshotLabel->setFixedSize( _snapshotLabel->tqsizeHint() );
_snapshotFile = new TQLineEdit( two );
- _snapshotFile->setFixedHeight( _snapshotFile->sizeHint().height() );
+ _snapshotFile->setFixedHeight( _snapshotFile->tqsizeHint().height() );
_removeSnapshot = new TQCheckBox( i18n( "Remove snapshot file before backup" ), two );
- _removeSnapshot->setFixedHeight( _removeSnapshot->sizeHint().height() );
+ _removeSnapshot->setFixedHeight( _removeSnapshot->tqsizeHint().height() );
slotIncrementalToggled( FALSE );
@@ -205,7 +205,7 @@ void BackupProfileWidget::setAbsoluteFiles( const TQStringList& files )
TQString prefix = Util::longestCommonPath( files );
_workingDir->clear();
- for ( int pos = prefix.length(); pos > 0; pos = prefix.findRev( '/', pos - 1 ) ) {
+ for ( int pos = prefix.length(); pos > 0; pos = prefix.tqfindRev( '/', pos - 1 ) ) {
_workingDir->insertItem( prefix.left( pos ) );
}
_workingDir->insertItem( "/" );