From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/kjssupport/subclassingdlg.h | 60 +++++++++++++++++------------------ 1 file changed, 30 insertions(+), 30 deletions(-) (limited to 'languages/kjssupport/subclassingdlg.h') diff --git a/languages/kjssupport/subclassingdlg.h b/languages/kjssupport/subclassingdlg.h index c727b648..8cf9ad32 100644 --- a/languages/kjssupport/subclassingdlg.h +++ b/languages/kjssupport/subclassingdlg.h @@ -12,7 +12,7 @@ #ifndef SUBCLASSINGDLG_H #define SUBCLASSINGDLG_H -#include +#include #include "subclassingdlgbase.h" @@ -23,15 +23,15 @@ class kjsSupportPart; class SlotItem : public QCheckListItem { public: - SlotItem(QListView *parent,const QString &text, - const QString &specifier, const QString &Access, - const QString &returnType,bool isFunc, + SlotItem(TQListView *parent,const TQString &text, + const TQString &specifier, const TQString &Access, + const TQString &returnType,bool isFunc, bool callBaseClass=false); void setAllreadyInSubclass(); - QString m_access; - QString m_methodName; - QString m_returnType; - QString m_specifier; + TQString m_access; + TQString m_methodName; + TQString m_returnType; + TQString m_specifier; bool m_isFunc; bool m_callBaseClass; bool m_alreadyInSubclass; @@ -41,23 +41,23 @@ class SlotItem : public QCheckListItem class SubclassingDlg : public SubclassingDlgBase { public: - SubclassingDlg(kjsSupportPart* kjsSupport, const QString &formFile,QStringList &newFileNames, - QWidget* parent = 0, const char* name = 0, + SubclassingDlg(kjsSupportPart* kjsSupport, const TQString &formFile,TQStringList &newFileNames, + TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); -/* SubclassingDlg(CppSupportPart* kjsSupport, const QString &formFile,const QString &filename,QStringList &dummy, - QWidget* parent = 0, const char* name = 0, +/* SubclassingDlg(CppSupportPart* kjsSupport, const TQString &formFile,const TQString &filename,TQStringList &dummy, + TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );*/ ~SubclassingDlg(); private: void readUiFile(); - QString readBaseClassName(); + TQString readBaseClassName(); void updateDlg(); - bool replaceKeywords(QString &buffer, bool canBeModal=true); - void replace(QString &string, const QString& search, const QString& replace); - bool saveBuffer(QString &buffer, const QString& filename); - bool loadBuffer(QString &buffer, const QString& filename); - bool alreadyInSubclass(const QString &method); + bool replaceKeywords(TQString &buffer, bool canBeModal=true); + void replace(TQString &string, const TQString& search, const TQString& replace); + bool saveBuffer(TQString &buffer, const TQString& filename); + bool loadBuffer(TQString &buffer, const TQString& filename); + bool alreadyInSubclass(const TQString &method); bool m_creatingNewSubclass; public slots: @@ -65,20 +65,20 @@ public slots: virtual void onChangedClassName(); protected: - QStringList &m_newFileNames; - QString m_filename; - QString m_formFile; - QString m_baseClassName; - QString m_qtBaseClassName; - QString m_baseCaption; - QString m_formName; - QString m_formPath; - QStringList m_parsedMethods; + TQStringList &m_newFileNames; + TQString m_filename; + TQString m_formFile; + TQString m_baseClassName; + TQString m_qtBaseClassName; + TQString m_baseCaption; + TQString m_formName; + TQString m_formPath; + TQStringList m_parsedMethods; bool m_canBeModal; - QValueList m_slots; - QValueList m_functions; + TQValueList m_slots; + TQValueList m_functions; kjsSupportPart* m_kjsSupport; - QString connections; + TQString connections; }; #endif -- cgit v1.2.1