From dacae0242e905268e9df9aed83f84e91b13a1749 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 24 Jul 2013 11:53:10 -0500 Subject: Convert to TDE R14 API --- src/Q_fileexistsdialog.cpp | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'src/Q_fileexistsdialog.cpp') diff --git a/src/Q_fileexistsdialog.cpp b/src/Q_fileexistsdialog.cpp index 5da867b..c3cba9b 100644 --- a/src/Q_fileexistsdialog.cpp +++ b/src/Q_fileexistsdialog.cpp @@ -1,5 +1,5 @@ #include -#include +#include /**************************************************************************** ** Form implementation generated from reading ui file '/home/mkulke/Development/kasablanca/src/Q_fileexistsdialog.ui' ** @@ -11,11 +11,11 @@ #include "Q_fileexistsdialog.h" -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include /* * Constructs a KasablancaFileExistsDialog as a child of 'parent', with the @@ -24,35 +24,35 @@ * The dialog will by default be modeless, unless you set 'modal' to * TRUE to construct a modal dialog. */ -KasablancaFileExistsDialog::KasablancaFileExistsDialog( QWidget* parent, const char* name, bool modal, WFlags fl ) - : QDialog( parent, name, modal, fl ) +KasablancaFileExistsDialog::KasablancaFileExistsDialog( TQWidget* parent, const char* name, bool modal, WFlags fl ) + : TQDialog( parent, name, modal, fl ) { if ( !name ) setName( "KasablancaFileExistsDialog" ); - setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) ); + setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) ); setModal( TRUE ); - KasablancaFileExistsDialogLayout = new QGridLayout( this, 1, 1, 2, 6, "KasablancaFileExistsDialogLayout"); - KasablancaFileExistsDialogLayout->setResizeMode( QLayout::Fixed ); + KasablancaFileExistsDialogLayout = new TQGridLayout( this, 1, 1, 2, 6, "KasablancaFileExistsDialogLayout"); + KasablancaFileExistsDialogLayout->setResizeMode( TQLayout::Fixed ); - SkipButton = new QPushButton( this, "SkipButton" ); + SkipButton = new TQPushButton( this, "SkipButton" ); KasablancaFileExistsDialogLayout->addWidget( SkipButton, 0, 3 ); - ResumeButton = new QPushButton( this, "ResumeButton" ); + ResumeButton = new TQPushButton( this, "ResumeButton" ); ResumeButton->setEnabled( TRUE ); KasablancaFileExistsDialogLayout->addWidget( ResumeButton, 0, 1 ); - RenameButton = new QPushButton( this, "RenameButton" ); + RenameButton = new TQPushButton( this, "RenameButton" ); RenameButton->setEnabled( TRUE ); KasablancaFileExistsDialogLayout->addWidget( RenameButton, 0, 2 ); - OverwriteButton = new QPushButton( this, "OverwriteButton" ); + OverwriteButton = new TQPushButton( this, "OverwriteButton" ); KasablancaFileExistsDialogLayout->addWidget( OverwriteButton, 0, 0 ); languageChange(); - resize( QSize(514, 57).expandedTo(minimumSizeHint()) ); + resize( TQSize(514, 57).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections @@ -72,7 +72,7 @@ KasablancaFileExistsDialog::KasablancaFileExistsDialog( QWidget* parent, const c */ KasablancaFileExistsDialog::~KasablancaFileExistsDialog() { - // no need to delete child widgets, Qt does it all for us + // no need to delete child widgets, TQt does it all for us } /* @@ -90,22 +90,22 @@ void KasablancaFileExistsDialog::languageChange() void KasablancaFileExistsDialog::Skip() { - qWarning( "KasablancaFileExistsDialog::Skip(): Not implemented yet" ); + tqWarning( "KasablancaFileExistsDialog::Skip(): Not implemented yet" ); } void KasablancaFileExistsDialog::Overwrite() { - qWarning( "KasablancaFileExistsDialog::Overwrite(): Not implemented yet" ); + tqWarning( "KasablancaFileExistsDialog::Overwrite(): Not implemented yet" ); } void KasablancaFileExistsDialog::Resume() { - qWarning( "KasablancaFileExistsDialog::Resume(): Not implemented yet" ); + tqWarning( "KasablancaFileExistsDialog::Resume(): Not implemented yet" ); } void KasablancaFileExistsDialog::Rename() { - qWarning( "KasablancaFileExistsDialog::Rename(): Not implemented yet" ); + tqWarning( "KasablancaFileExistsDialog::Rename(): Not implemented yet" ); } #include "Q_fileexistsdialog.moc" -- cgit v1.2.1