From 609724b5d29f25236bee59d0cb794602d391a96b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 22 Jan 2013 20:13:30 -0600 Subject: Rename KInstance and KAboutData to avoid conflicts with KDE4 --- kicker-applets/kolourpicker/kolourpicker.cpp | 6 +++--- kicker-applets/kolourpicker/kolourpicker.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kicker-applets/kolourpicker') diff --git a/kicker-applets/kolourpicker/kolourpicker.cpp b/kicker-applets/kolourpicker/kolourpicker.cpp index b727446..a51229e 100644 --- a/kicker-applets/kolourpicker/kolourpicker.cpp +++ b/kicker-applets/kolourpicker/kolourpicker.cpp @@ -62,14 +62,14 @@ KolourPicker::KolourPicker(const TQString& configFile, Type type, : KPanelApplet(configFile, type, actions, parent, name), m_picking(0) { - KAboutData *about = new KAboutData("kolourpicker", + TDEAboutData *about = new TDEAboutData("kolourpicker", I18N_NOOP("Color Picker"), "v0.1", I18N_NOOP("An applet to pick color values from anywhere on the screen"), - KAboutData::License_GPL_V2, + TDEAboutData::License_GPL_V2, "(c) 2001 Malte Starostik"); about->addAuthor("Malte Starostik", I18N_NOOP("Original Author"), "malte@kde.org"); - m_instance = new KInstance(about); + m_instance = new TDEInstance(about); KConfig *conf = config(); conf->setGroup("General"); diff --git a/kicker-applets/kolourpicker/kolourpicker.h b/kicker-applets/kolourpicker/kolourpicker.h index 09bbdc5..af160e7 100644 --- a/kicker-applets/kolourpicker/kolourpicker.h +++ b/kicker-applets/kolourpicker/kolourpicker.h @@ -28,7 +28,7 @@ #include "simplebutton.h" -class KInstance; +class TDEInstance; class TQPopupMenu; class KolourPicker : public KPanelApplet @@ -59,7 +59,7 @@ private: void arrangeButtons(); void setClipboard(const TQString& text); - KInstance *m_instance; + TDEInstance *m_instance; bool m_picking; SimpleButton *m_historyButton, *m_colourButton; TQValueList m_history; -- cgit v1.2.1