diff options
Diffstat (limited to 'korganizer/printing')
-rw-r--r-- | korganizer/printing/calprinter.h | 6 | ||||
-rw-r--r-- | korganizer/printing/calprintpluginbase.cpp | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/printing/calprinter.h b/korganizer/printing/calprinter.h index a6d3d3cba..29b925a67 100644 --- a/korganizer/printing/calprinter.h +++ b/korganizer/printing/calprinter.h @@ -41,7 +41,7 @@ using namespace KCal; class TQVButtonGroup; class TQWidgetStack; class CalPrintDialog; -class KConfig; +class TDEConfig; class TQComboBox; class TQLabel; @@ -92,7 +92,7 @@ class KDE_EXPORT CalPrinter : public TQObject, public KOrg::CalPrinterBase Incidence::List selectedIncidences = Incidence::List(), bool preview = false ); Calendar *calendar() const; - KConfig *config() const; + TDEConfig *config() const; protected: KOrg::PrintPlugin::List mPrintPlugins; @@ -100,7 +100,7 @@ class KDE_EXPORT CalPrinter : public TQObject, public KOrg::CalPrinterBase private: Calendar *mCalendar; TQWidget *mParent; - KConfig *mConfig; + TDEConfig *mConfig; KOrg::CoreHelper *mCoreHelper; }; diff --git a/korganizer/printing/calprintpluginbase.cpp b/korganizer/printing/calprintpluginbase.cpp index 50436228b..50b533bf6 100644 --- a/korganizer/printing/calprintpluginbase.cpp +++ b/korganizer/printing/calprintpluginbase.cpp @@ -180,7 +180,7 @@ void CalPrintPluginBase::doPrint( KPrinter *printer ) void CalPrintPluginBase::doLoadConfig() { if ( mConfig ) { - KConfigGroupSaver saver( mConfig, description() ); + TDEConfigGroupSaver saver( mConfig, description() ); mConfig->sync(); TQDateTime currDate( TQDate::currentDate() ); mFromDate = mConfig->readDateTimeEntry( "FromDate", &currDate ).date(); @@ -196,7 +196,7 @@ void CalPrintPluginBase::doLoadConfig() void CalPrintPluginBase::doSaveConfig() { if ( mConfig ) { - KConfigGroupSaver saver( mConfig, description() ); + TDEConfigGroupSaver saver( mConfig, description() ); saveConfig(); mConfig->writeEntry( "FromDate", TQDateTime( mFromDate ) ); mConfig->writeEntry( "ToDate", TQDateTime( mToDate ) ); |