diff options
Diffstat (limited to 'languages/cpp/subclassingdlg.h')
-rw-r--r-- | languages/cpp/subclassingdlg.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/languages/cpp/subclassingdlg.h b/languages/cpp/subclassingdlg.h index 2f645f09..2e2e9e95 100644 --- a/languages/cpp/subclassingdlg.h +++ b/languages/cpp/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 CppSupportPart; 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 @@ public: class SubclassingDlg : public SubclassingDlgBase { public: - SubclassingDlg( CppSupportPart* cppSupport, const QString &formFile, QStringList &newFileNames, - QWidget* parent = 0, const char* name = 0, + SubclassingDlg( CppSupportPart* cppSupport, const TQString &formFile, TQStringList &newFileNames, + TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); - SubclassingDlg( CppSupportPart* cppSupport, const QString &formFile, const QString &filename, QStringList &dummy, - QWidget* parent = 0, const char* name = 0, + SubclassingDlg( CppSupportPart* cppSupport, 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,18 +65,18 @@ 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; CppSupportPart* m_cppSupport; }; |