diff options
Diffstat (limited to 'languages/kjssupport/subclassingdlg.h')
-rw-r--r-- | languages/kjssupport/subclassingdlg.h | 60 |
1 files changed, 30 insertions, 30 deletions
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 <qlistview.h> +#include <tqlistview.h> #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<SlotItem*> m_slots; - QValueList<SlotItem*> m_functions; + TQValueList<SlotItem*> m_slots; + TQValueList<SlotItem*> m_functions; kjsSupportPart* m_kjsSupport; - QString connections; + TQString connections; }; #endif |