summaryrefslogtreecommitdiffstats
path: root/korganizer/plugins
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/plugins
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/plugins')
-rw-r--r--korganizer/plugins/datenums/configdialog.cpp4
-rw-r--r--korganizer/plugins/datenums/datenums.cpp2
-rw-r--r--korganizer/plugins/hebrew/configdialog.cpp4
-rw-r--r--korganizer/plugins/hebrew/hebrew.cpp2
-rw-r--r--korganizer/plugins/projectview/koprojectview.cpp6
-rw-r--r--korganizer/plugins/projectview/koprojectview.h2
-rw-r--r--korganizer/plugins/timespanview/kotimespanview.cpp4
-rw-r--r--korganizer/plugins/timespanview/kotimespanview.h4
8 files changed, 14 insertions, 14 deletions
diff --git a/korganizer/plugins/datenums/configdialog.cpp b/korganizer/plugins/datenums/configdialog.cpp
index 3766e2ffd..6b8746db5 100644
--- a/korganizer/plugins/datenums/configdialog.cpp
+++ b/korganizer/plugins/datenums/configdialog.cpp
@@ -58,7 +58,7 @@ ConfigDialog::~ConfigDialog()
void ConfigDialog::load()
{
- KConfig config( "korganizerrc", true, false); // Open read-only, no kdeglobals
+ TDEConfig config( "korganizerrc", true, false); // Open read-only, no kdeglobals
config.setGroup("Calendar/DateNum Plugin");
int datenum = config.readNumEntry( "ShowDayNumbers", 0 );
mDayNumGroup->setButton( datenum );
@@ -66,7 +66,7 @@ void ConfigDialog::load()
void ConfigDialog::save()
{
- KConfig config( "korganizerrc", false, false); // Open read-write, no kdeglobals
+ TDEConfig config( "korganizerrc", false, false); // Open read-write, no kdeglobals
config.setGroup("Calendar/DateNum Plugin");
config.writeEntry("ShowDayNumbers", mDayNumGroup->selectedId() );
config.sync();
diff --git a/korganizer/plugins/datenums/datenums.cpp b/korganizer/plugins/datenums/datenums.cpp
index af022837e..9ef6068b9 100644
--- a/korganizer/plugins/datenums/datenums.cpp
+++ b/korganizer/plugins/datenums/datenums.cpp
@@ -35,7 +35,7 @@ K_EXPORT_COMPONENT_FACTORY( libkorg_datenums, DatenumsFactory )
Datenums::Datenums()
{
- KConfig config( "korganizerrc", true, false); // Open read-only, no kdeglobals
+ TDEConfig config( "korganizerrc", true, false); // Open read-only, no kdeglobals
config.setGroup("Calendar/DateNum Plugin");
mDateNum = config.readNumEntry( "ShowDayNumbers", 0 );
}
diff --git a/korganizer/plugins/hebrew/configdialog.cpp b/korganizer/plugins/hebrew/configdialog.cpp
index 54a118523..b580c2feb 100644
--- a/korganizer/plugins/hebrew/configdialog.cpp
+++ b/korganizer/plugins/hebrew/configdialog.cpp
@@ -58,7 +58,7 @@ ConfigDialog::~ConfigDialog()
void ConfigDialog::load()
{
- KConfig config("korganizerrc", true, false); // Open read-only, no kdeglobals
+ TDEConfig config("korganizerrc", true, false); // Open read-only, no kdeglobals
config.setGroup("Calendar/Hebrew Calendar Plugin");
israel_box->setChecked(config.
@@ -73,7 +73,7 @@ void ConfigDialog::load()
void ConfigDialog::save()
{
- KConfig config("korganizerrc", false, false); // Open read-write, no kdeglobals
+ TDEConfig config("korganizerrc", false, false); // Open read-write, no kdeglobals
config.setGroup("Calendar/Hebrew Calendar Plugin");
config.writeEntry("Israel", israel_box->isChecked());
diff --git a/korganizer/plugins/hebrew/hebrew.cpp b/korganizer/plugins/hebrew/hebrew.cpp
index 742c7849d..c65691d3e 100644
--- a/korganizer/plugins/hebrew/hebrew.cpp
+++ b/korganizer/plugins/hebrew/hebrew.cpp
@@ -46,7 +46,7 @@ K_EXPORT_COMPONENT_FACTORY( libkorg_hebrew, HebrewFactory )
TQString Hebrew::shortText(const TQDate & date)
{
- KConfig config("korganizerrc", true, false); // Open read-only, no kdeglobals
+ TDEConfig config("korganizerrc", true, false); // Open read-only, no kdeglobals
config.setGroup("Calendar/Hebrew Calendar Plugin");
IsraelP =
diff --git a/korganizer/plugins/projectview/koprojectview.cpp b/korganizer/plugins/projectview/koprojectview.cpp
index 6c45ff424..b65efde63 100644
--- a/korganizer/plugins/projectview/koprojectview.cpp
+++ b/korganizer/plugins/projectview/koprojectview.cpp
@@ -118,8 +118,8 @@ void KOProjectView::readSettings()
{
kdDebug(5850) << "KOProjectView::readSettings()" << endl;
- //KConfig *config = kapp->config();
- KConfig config( "korganizerrc", true, false); // Open read-only, no kdeglobals
+ //TDEConfig *config = kapp->config();
+ TDEConfig config( "korganizerrc", true, false); // Open read-only, no kdeglobals
config.setGroup("Views");
TQValueList<int> sizes = config.readIntListEntry("Separator ProjectView");
@@ -128,7 +128,7 @@ void KOProjectView::readSettings()
}
}
-void KOProjectView::writeSettings(KConfig *config)
+void KOProjectView::writeSettings(TDEConfig *config)
{
kdDebug(5850) << "KOProjectView::writeSettings()" << endl;
diff --git a/korganizer/plugins/projectview/koprojectview.h b/korganizer/plugins/projectview/koprojectview.h
index be0e1ee92..5415d3812 100644
--- a/korganizer/plugins/projectview/koprojectview.h
+++ b/korganizer/plugins/projectview/koprojectview.h
@@ -78,7 +78,7 @@ class KOProjectView : public KOrg::BaseView
int currentDateCount() { return 0; }
void readSettings();
- void writeSettings(KConfig *);
+ void writeSettings(TDEConfig *);
public slots:
void updateView();
diff --git a/korganizer/plugins/timespanview/kotimespanview.cpp b/korganizer/plugins/timespanview/kotimespanview.cpp
index eb924c74d..4c43444fb 100644
--- a/korganizer/plugins/timespanview/kotimespanview.cpp
+++ b/korganizer/plugins/timespanview/kotimespanview.cpp
@@ -55,7 +55,7 @@ void KOTimeSpanView::readSettings()
{
kdDebug(5850) << "KOTimeSpanView::readSettings()" << endl;
- KConfig config( "korganizerrc", true, false); // Open read-only, no kdeglobals
+ TDEConfig config( "korganizerrc", true, false); // Open read-only, no kdeglobals
config.setGroup("Views");
TQValueList<int> sizes = config.readIntListEntry("Separator TimeSpanView");
@@ -64,7 +64,7 @@ void KOTimeSpanView::readSettings()
}
}
-void KOTimeSpanView::writeSettings(KConfig *config)
+void KOTimeSpanView::writeSettings(TDEConfig *config)
{
// kdDebug(5850) << "KOTimeSpanView::writeSettings()" << endl;
diff --git a/korganizer/plugins/timespanview/kotimespanview.h b/korganizer/plugins/timespanview/kotimespanview.h
index ae4074437..b9dec86a5 100644
--- a/korganizer/plugins/timespanview/kotimespanview.h
+++ b/korganizer/plugins/timespanview/kotimespanview.h
@@ -26,7 +26,7 @@
#include "koeventview.h"
-class KConfig;
+class TDEConfig;
class TimeSpanWidget;
class KOTimeSpanView : public KOEventView
@@ -44,7 +44,7 @@ class KOTimeSpanView : public KOEventView
DateList selectedDates() { return DateList(); }
void readSettings();
- void writeSettings( KConfig * );
+ void writeSettings( TDEConfig * );
public slots:
virtual void updateView();