summaryrefslogtreecommitdiffstats
path: root/korganizer/printing
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
commit86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch)
tree97d3ac2c2f60780d9a1de4f82caac7cb27534501 /korganizer/printing
parenta9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff)
downloadtdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz
tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'korganizer/printing')
-rw-r--r--korganizer/printing/calprinter.h6
-rw-r--r--korganizer/printing/calprintpluginbase.cpp4
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 ) );