Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 5c0b074b33
commit 53dc629fee

@ -37,7 +37,7 @@
class TQSplitter; class TQSplitter;
class TQTimer; class TQTimer;
class KAction; class KAction;
class KConfig; class TDEConfig;
class KListBox; class KListBox;
class KToggleAction; class KToggleAction;
class KRecentFilesAction; class KRecentFilesAction;
@ -54,7 +54,7 @@ class Knowit : public KMainWindow
private: private:
static const TQString Untitled; static const TQString Untitled;
KConfig *config; TDEConfig *config;
TQSplitter* Layout; TQSplitter* Layout;
KnowitTree* Items; KnowitTree* Items;
KListBox* Links; KListBox* Links;

@ -40,7 +40,7 @@
#include <kcolorbutton.h> #include <kcolorbutton.h>
#include <kdualcolorbutton.h> #include <kdualcolorbutton.h>
void KnowitOptions::save(KConfig* config) const void KnowitOptions::save(TDEConfig* config) const
{ {
config->setGroup("KDE"); config->setGroup("KDE");
config->writeEntry("MultipleInstances", multipleInstances); config->writeEntry("MultipleInstances", multipleInstances);
@ -84,7 +84,7 @@ void KnowitOptions::save(KConfig* config) const
} }
void KnowitOptions::read(KConfig* config) void KnowitOptions::read(TDEConfig* config)
{ {
config->setGroup("KDE"); config->setGroup("KDE");
multipleInstances = config->readBoolEntry("MultipleInstances", true); multipleInstances = config->readBoolEntry("MultipleInstances", true);

@ -27,7 +27,7 @@ class TQToolButton;
class KLineEdit; class KLineEdit;
class KColorButton; class KColorButton;
class KDualColorButton; class KDualColorButton;
class KConfig; class TDEConfig;
class KComboBox; class KComboBox;
class KnowitOptions class KnowitOptions
@ -62,8 +62,8 @@ public:
/* Date format */ /* Date format */
TQString insertDateFormat, insertDateColor; TQString insertDateFormat, insertDateColor;
bool insertDateBold, insertDateItalic, insertDateUnderline; bool insertDateBold, insertDateItalic, insertDateUnderline;
void save(KConfig* config) const; void save(TDEConfig* config) const;
void read(KConfig* config); void read(TDEConfig* config);
/* Export */ /* Export */
int exportFlags; int exportFlags;
}; };

Loading…
Cancel
Save