diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /interfaces/ktexteditor/editorchooser.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'interfaces/ktexteditor/editorchooser.h')
-rw-r--r-- | interfaces/ktexteditor/editorchooser.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/interfaces/ktexteditor/editorchooser.h b/interfaces/ktexteditor/editorchooser.h index 3feb73b62..156c49473 100644 --- a/interfaces/ktexteditor/editorchooser.h +++ b/interfaces/ktexteditor/editorchooser.h @@ -4,7 +4,7 @@ #include <ktexteditor/editor.h> #include <ktexteditor/document.h> -#include <qwidget.h> +#include <tqwidget.h> class KConfig; class QString; @@ -19,16 +19,16 @@ class KTEXTEDITOR_EXPORT EditorChooser: public QWidget Q_OBJECT public: - EditorChooser(QWidget *parent=0,const char *name=0); + EditorChooser(TQWidget *parent=0,const char *name=0); virtual ~EditorChooser(); /* void writeSysDefault();*/ - void readAppSetting(const QString& postfix=QString::null); - void writeAppSetting(const QString& postfix=QString::null); + void readAppSetting(const TQString& postfix=TQString::null); + void writeAppSetting(const TQString& postfix=TQString::null); - static KTextEditor::Document *createDocument(QObject* parent=0,const char *name=0,const QString& postfix=QString::null, bool fallBackToKatePart=true); - static KTextEditor::Editor *createEditor(QWidget *parentWidget,QObject *parent,const char* widgetName=0,const char* name=0,const QString& postfix=QString::null,bool fallBackToKatePart=true); + 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; }; @@ -38,18 +38,18 @@ class EditorChooserBackEnd: public ComponentChooserPlugin { Q_OBJECT public: - EditorChooserBackEnd(QObject *parent=0, const char *name=0); + EditorChooserBackEnd(TQObject *parent=0, const char *name=0); virtual ~EditorChooserBackEnd(); - virtual QWidget *widget(QWidget *); - virtual const QStringList &choices(); + virtual TQWidget *widget(TQWidget *); + virtual const TQStringList &choices(); virtual void saveSettings(); - void readAppSetting(KConfig *cfg,const QString& postfix); - void writeAppSetting(KConfig *cfg,const QString& postfix); + void readAppSetting(KConfig *cfg,const TQString& postfix); + void writeAppSetting(KConfig *cfg,const TQString& postfix); public slots: - virtual void madeChoice(int pos,const QString &choice); + virtual void madeChoice(int pos,const TQString &choice); }; */ |