diff options
Diffstat (limited to 'krename/dsdirselectdialog.cpp')
-rw-r--r-- | krename/dsdirselectdialog.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/krename/dsdirselectdialog.cpp b/krename/dsdirselectdialog.cpp index c37c88a..2051e7d 100644 --- a/krename/dsdirselectdialog.cpp +++ b/krename/dsdirselectdialog.cpp @@ -17,46 +17,46 @@ #include "dsdirselectdialog.h" -// Qt includes -#include <qcheckbox.h> -#include <qhbox.h> -#include <qlabel.h> -#include <qlayout.h> -#include <qtooltip.h> -#include <qvbox.h> +// TQt includes +#include <tqcheckbox.h> +#include <tqhbox.h> +#include <tqlabel.h> +#include <tqlayout.h> +#include <tqtooltip.h> +#include <tqvbox.h> // KDE includes #include <kdiroperator.h> #include <klocale.h> #include <kurlcombobox.h> -DSDirSelectDialog::DSDirSelectDialog( QWidget* parent ) - : KFileDialog( ":KRename", "*", parent, 0, false ) +DSDirSelectDialog::DSDirSelectDialog( TQWidget* tqparent ) + : KFileDialog( ":KRename", "*", tqparent, 0, false ) { setOperationMode( KFileDialog::Opening ); setMode( KFile::Files | KFile::ExistingOnly ); - QVBox* vbox = new QVBox( this ); + TQVBox* vbox = new TQVBox( this ); - if( layout() ) - layout()->add( vbox ); + if( tqlayout() ) + tqlayout()->add( vbox ); else - qDebug("KFileDialog does not have a layout!!!"); + qDebug("KFileDialog does not have a tqlayout!!!"); - checkDir = new QCheckBox( i18n("Add directory names &with filenames"), vbox ); - check = new QCheckBox( i18n("Add subdirectories &recursively"), vbox ); - QHBox* hbox = new QHBox( vbox ); - QWidget* spacer = new QWidget( hbox ); + checkDir = new TQCheckBox( i18n("Add directory names &with filenames"), vbox ); + check = new TQCheckBox( i18n("Add subdirectories &recursively"), vbox ); + TQHBox* hbox = new TQHBox( vbox ); + TQWidget* spacer = new TQWidget( hbox ); spacer->setMinimumWidth( 20 ); - checkHidden = new QCheckBox( i18n("Add &hidden directories"), hbox ); + checkHidden = new TQCheckBox( i18n("Add &hidden directories"), hbox ); hbox->setStretchFactor( checkHidden, 4 ); - checkOnlyDir = new QCheckBox( i18n("Add directory names only"), vbox ); - connect( check, SIGNAL( clicked() ), this, SLOT( enableControls() )); + checkOnlyDir = new TQCheckBox( i18n("Add directory names only"), vbox ); + connect( check, TQT_SIGNAL( clicked() ), this, TQT_SLOT( enableControls() )); - QToolTip::add( check, i18n("Walk recursively through the directory tree and add also the content of all subdirectories to the list of files to rename.") ); - QToolTip::add( checkHidden, i18n("If not checked, KRename will ignore directories starting with a dot during recursive adding.") ); - QToolTip::add( checkOnlyDir, i18n("Add only the directory names and not the names of the files in the directory to KRename.") ); - QToolTip::add( checkDir, i18n("This option causes KRename to add also the name of the base directory of the selected files to its list.") ); + TQToolTip::add( check, i18n("Walk recursively through the directory tree and add also the content of all subdirectories to the list of files to rename.") ); + TQToolTip::add( checkHidden, i18n("If not checked, KRename will ignore directories starting with a dot during recursive adding.") ); + TQToolTip::add( checkOnlyDir, i18n("Add only the directory names and not the names of the files in the directory to KRename.") ); + TQToolTip::add( checkDir, i18n("This option causes KRename to add also the name of the base directory of the selected files to its list.") ); enableControls(); } |