From 703fb0c89c2eee56a1e613e67a446db9d4287929 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:35:07 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- interfaces/ktexteditor/editorchooser.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'interfaces/ktexteditor/editorchooser.h') diff --git a/interfaces/ktexteditor/editorchooser.h b/interfaces/ktexteditor/editorchooser.h index 0010dd3a8..d56e8d8e5 100644 --- a/interfaces/ktexteditor/editorchooser.h +++ b/interfaces/ktexteditor/editorchooser.h @@ -6,7 +6,7 @@ #include -class KConfig; +class TDEConfig; class TQString; namespace KTextEditor @@ -45,8 +45,8 @@ public: virtual const TQStringList &choices(); virtual void saveSettings(); - void readAppSetting(KConfig *cfg,const TQString& postfix); - void writeAppSetting(KConfig *cfg,const TQString& postfix); + void readAppSetting(TDEConfig *cfg,const TQString& postfix); + void writeAppSetting(TDEConfig *cfg,const TQString& postfix); public slots: virtual void madeChoice(int pos,const TQString &choice); -- cgit v1.2.1 From dfe289850f068f19ba4a83ab4e7e22a7e09c13c9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 26 Jan 2013 13:17:21 -0600 Subject: Rename a number of libraries and executables to avoid conflicts with KDE4 --- interfaces/ktexteditor/editorchooser.h | 58 ---------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 interfaces/ktexteditor/editorchooser.h (limited to 'interfaces/ktexteditor/editorchooser.h') diff --git a/interfaces/ktexteditor/editorchooser.h b/interfaces/ktexteditor/editorchooser.h deleted file mode 100644 index d56e8d8e5..000000000 --- a/interfaces/ktexteditor/editorchooser.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef _EDITOR_CHOOSER_H_ -#define _EDITOR_CHOOSER_H_ - -#include -#include - -#include - -class TDEConfig; -class TQString; - -namespace KTextEditor -{ - -class KTEXTEDITOR_EXPORT EditorChooser: public TQWidget -{ - friend class PrivateEditorChooser; - - Q_OBJECT - - public: - EditorChooser(TQWidget *parent=0,const char *name=0); - virtual ~EditorChooser(); - - /* void writeSysDefault();*/ - - void readAppSetting(const TQString& postfix=TQString::null); - void writeAppSetting(const TQString& postfix=TQString::null); - - static KTextEditor::Document *createDocument(TQObject* parent=0,const char *name=0,const TQString& postfix=TQString::null, bool fallBackToKatePart=true); - static KTextEditor::Editor *createEditor(TQWidget *parentWidget,TQObject *parent,const char* widgetName=0,const char* name=0,const TQString& postfix=TQString::null,bool fallBackToKatePart=true); - private: - class PrivateEditorChooser *d; -}; - -/* -class EditorChooserBackEnd: public ComponentChooserPlugin { - -Q_OBJECT -public: - EditorChooserBackEnd(TQObject *parent=0, const char *name=0); - virtual ~EditorChooserBackEnd(); - - virtual TQWidget *widget(TQWidget *); - virtual const TQStringList &choices(); - virtual void saveSettings(); - - void readAppSetting(TDEConfig *cfg,const TQString& postfix); - void writeAppSetting(TDEConfig *cfg,const TQString& postfix); - -public slots: - virtual void madeChoice(int pos,const TQString &choice); - -}; -*/ - -} -#endif -- cgit v1.2.1