summaryrefslogtreecommitdiffstats
path: root/tdeprint/kprintdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/kprintdialog.cpp')
-rw-r--r--tdeprint/kprintdialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdeprint/kprintdialog.cpp b/tdeprint/kprintdialog.cpp
index 5e77f890a..06a61e1c0 100644
--- a/tdeprint/kprintdialog.cpp
+++ b/tdeprint/kprintdialog.cpp
@@ -439,7 +439,7 @@ KPrintDialog::KPrintDialog(TQWidget *parent, const char *name)
}
else
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup("KPrinter Settings");
expandDialog(!config->readBoolEntry("DialogReduced", (KMFactory::self()->settings()->application != KPrinter::StandAlone)));
}
@@ -447,7 +447,7 @@ KPrintDialog::KPrintDialog(TQWidget *parent, const char *name)
KPrintDialog::~KPrintDialog()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup("KPrinter Settings");
config->writeEntry("DialogReduced", d->m_reduced);
@@ -730,19 +730,19 @@ bool KPrintDialog::checkOutputFile()
{
//value = (KMessageBox::warningYesNo(this,i18n("File \"%1\" already exists. Overwrite?").arg(f.absFilePath())) == KMessageBox::Yes);
time_t mtimeDest = f.lastModified().toTime_t();
- KIO::RenameDlg dlg( this, i18n( "Print" ), TQString::null, d->m_file->url(),
- KIO::M_OVERWRITE, ( time_t ) -1, f.size(), ( time_t ) -1, f.created().toTime_t() , mtimeDest+1, mtimeDest, true );
+ TDEIO::RenameDlg dlg( this, i18n( "Print" ), TQString::null, d->m_file->url(),
+ TDEIO::M_OVERWRITE, ( time_t ) -1, f.size(), ( time_t ) -1, f.created().toTime_t() , mtimeDest+1, mtimeDest, true );
int result = dlg.exec();
switch ( result )
{
- case KIO::R_OVERWRITE:
+ case TDEIO::R_OVERWRITE:
value = true;
break;
default:
- case KIO::R_CANCEL:
+ case TDEIO::R_CANCEL:
value = false;
break;
- case KIO::R_RENAME:
+ case TDEIO::R_RENAME:
url = dlg.newDestURL();
d->m_file->setURL( url.path() );
value = true;