diff options
Diffstat (limited to 'kexi/main/startup/KexiStartupFileDialog.cpp')
-rw-r--r-- | kexi/main/startup/KexiStartupFileDialog.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kexi/main/startup/KexiStartupFileDialog.cpp b/kexi/main/startup/KexiStartupFileDialog.cpp index 8dd74298..cd54602b 100644 --- a/kexi/main/startup/KexiStartupFileDialog.cpp +++ b/kexi/main/startup/KexiStartupFileDialog.cpp @@ -23,7 +23,7 @@ #include <core/kexi.h> #include <kexiutils/utils.h> -#include <layout.h> +#include <tqlayout.h> #include <tqobjectlist.h> #include <tqpushbutton.h> #include <tqapplication.h> @@ -42,14 +42,14 @@ KexiStartupFileDialog::KexiStartupFileDialog( , m_confirmOverwrites(true) , m_filtersUpdated(false) { - setSizePolicy(TQSizePolicy::Minimum,TQSizePolicy::Minimum); + tqsetSizePolicy(TQSizePolicy::Minimum,TQSizePolicy::Minimum); setMode( mode ); TQPoint point( 0, 0 ); reparent( parentWidget(), point ); - if (layout()) - layout()->setMargin(0); + if (tqlayout()) + tqlayout()->setMargin(0); setMinimumHeight(100); setSizeGripEnabled ( false ); @@ -300,7 +300,7 @@ bool KexiStartupFileDialog::checkFileName() if (mode() & KFile::ExistingOnly) { if ( !fi.exists() ) { KMessageBox::error( this, "<qt>"+i18n( "The file \"%1\" does not exist." ) - .arg( TQDir::convertSeparators(path) ) ); + .tqarg( TQDir::convertSeparators(path) ) ); return false; } else if (mode() & KFile::File) { @@ -310,7 +310,7 @@ bool KexiStartupFileDialog::checkFileName() } else if (!fi.isReadable()) { KMessageBox::error( this, "<qt>"+i18n( "The file \"%1\" is not readable." ) - .arg( TQDir::convertSeparators(path) ) ); + .tqarg( TQDir::convertSeparators(path) ) ); return false; } } @@ -329,7 +329,7 @@ bool KexiStartupFileDialog::askForOverwriting(const TQString& filePath, TQWidget if (!fi.exists()) return true; const int res = KMessageBox::warningYesNo( parent, i18n( "The file \"%1\" already exists.\n" - "Do you want to overwrite it?").arg( TQDir::convertSeparators(filePath) ), TQString(), + "Do you want to overwrite it?").tqarg( TQDir::convertSeparators(filePath) ), TQString(), i18n("Overwrite"), KStdGuiItem::no() ); if (res == KMessageBox::Yes) return true; |