diff options
Diffstat (limited to 'languages/cpp/cppnewclassdlg.h')
-rw-r--r-- | languages/cpp/cppnewclassdlg.h | 63 |
1 files changed, 32 insertions, 31 deletions
diff --git a/languages/cpp/cppnewclassdlg.h b/languages/cpp/cppnewclassdlg.h index fcff0bd0..39e9e458 100644 --- a/languages/cpp/cppnewclassdlg.h +++ b/languages/cpp/cppnewclassdlg.h @@ -31,40 +31,40 @@ class CodeModel; template <class T> -class PCheckListItem: public QCheckListItem +class PCheckListItem: public TQCheckListItem { public: - PCheckListItem ( T item, TQCheckListItem * parent, const TQString & text, Type tt = Controller ) : - TQCheckListItem ( parent, text, tt ), m_item( item ) + PCheckListItem ( T item, TQCheckListItem * tqparent, const TQString & text, Type tt = Controller ) : + TQCheckListItem ( tqparent, text, tt ), m_item( item ) {} - PCheckListItem ( T item, TQCheckListItem * parent, TQListViewItem * after, const TQString & text, Type tt = Controller ) : - TQCheckListItem ( parent, after, text, tt ), m_item( item ) + PCheckListItem ( T item, TQCheckListItem * tqparent, TQListViewItem * after, const TQString & text, Type tt = Controller ) : + TQCheckListItem ( tqparent, after, text, tt ), m_item( item ) {} - PCheckListItem ( T item, TQListViewItem * parent, const TQString & text, Type tt = Controller ) : - TQCheckListItem ( parent, text, tt ), m_item( item ) + PCheckListItem ( T item, TQListViewItem * tqparent, const TQString & text, Type tt = Controller ) : + TQCheckListItem ( tqparent, text, tt ), m_item( item ) {} - PCheckListItem ( T item, TQListViewItem * parent, TQListViewItem * after, const TQString & text, Type tt = Controller ) : - TQCheckListItem ( parent, after, text, tt ), m_item( item ) + PCheckListItem ( T item, TQListViewItem * tqparent, TQListViewItem * after, const TQString & text, Type tt = Controller ) : + TQCheckListItem ( tqparent, after, text, tt ), m_item( item ) {} - PCheckListItem ( T item, TQListView * parent, const TQString & text, Type tt = Controller ) : - TQCheckListItem ( parent, text, tt ), m_item( item ) + PCheckListItem ( T item, TQListView * tqparent, const TQString & text, Type tt = Controller ) : + TQCheckListItem ( tqparent, text, tt ), m_item( item ) {} - PCheckListItem ( T item, TQListView * parent, TQListViewItem * after, const TQString & text, Type tt = Controller ) : - TQCheckListItem ( parent, after, text, tt ), m_item( item ) + PCheckListItem ( T item, TQListView * tqparent, TQListViewItem * after, const TQString & text, Type tt = Controller ) : + TQCheckListItem ( tqparent, after, text, tt ), m_item( item ) {} - PCheckListItem ( T item, TQListViewItem * parent, const TQString & text, const TQPixmap & p ) : - TQCheckListItem ( parent, text, p ), m_item( item ) + PCheckListItem ( T item, TQListViewItem * tqparent, const TQString & text, const TQPixmap & p ) : + TQCheckListItem ( tqparent, text, p ), m_item( item ) {} - PCheckListItem ( T item, TQListView * parent, const TQString & text, const TQPixmap & p ) : - TQCheckListItem ( parent, text, p ), m_item( item ) + PCheckListItem ( T item, TQListView * tqparent, const TQString & text, const TQPixmap & p ) : + TQCheckListItem ( tqparent, text, p ), m_item( item ) {} T item() @@ -79,24 +79,24 @@ private: }; template <class T> -class PListViewItem: public QListViewItem +class PListViewItem: public TQListViewItem { public: - PListViewItem ( T item, TQListViewItem * parent, TQListViewItem * after, const TQString & text ) : - TQListViewItem ( parent, after, text ), m_item( item ) + PListViewItem ( T item, TQListViewItem * tqparent, TQListViewItem * after, const TQString & text ) : + TQListViewItem ( tqparent, after, text ), m_item( item ) {} - PListViewItem ( T item, TQListViewItem * parent, const TQString & text ) : - TQListViewItem ( parent, text ), m_item( item ) + PListViewItem ( T item, TQListViewItem * tqparent, const TQString & text ) : + TQListViewItem ( tqparent, text ), m_item( item ) {} - PListViewItem ( T item, TQListView * parent, const TQString & text ) : - TQListViewItem ( parent, text ), m_item( item ) + PListViewItem ( T item, TQListView * tqparent, const TQString & text ) : + TQListViewItem ( tqparent, text ), m_item( item ) {} - PListViewItem ( T item, TQListView * parent, TQListViewItem * after, const TQString & text ) : - TQListViewItem ( parent, after, text ), m_item( item ) + PListViewItem ( T item, TQListView * tqparent, TQListViewItem * after, const TQString & text ) : + TQListViewItem ( tqparent, after, text ), m_item( item ) {} T item() @@ -113,9 +113,10 @@ private: class CppNewClassDialog : public CppNewClassDialogBase { Q_OBJECT + TQ_OBJECT public: - CppNewClassDialog( CppSupportPart *part, TQWidget *parent = 0, const char *name = 0 ); + CppNewClassDialog( CppSupportPart *part, TQWidget *tqparent = 0, const char *name = 0 ); ~CppNewClassDialog(); protected: @@ -140,7 +141,7 @@ protected: virtual void scopeboxActivated( int value ); virtual void checkObjCInheritance( int val ); - virtual void checkQWidgetInheritance( int val ); + virtual void checkTQWidgetInheritance( int val ); virtual void upbaseclass_button_clicked(); virtual void downbaseclass_button_clicked(); @@ -167,9 +168,9 @@ protected: void parseClass( TQString clName, TQString inheritance ); void parsePCSClass( TQString clName, TQString inheritance ); void addToConstructorsList( TQCheckListItem *myClass, FunctionDom method ); - void addToMethodsList( TQListViewItem *parent, FunctionDom method ); - void addToUpgradeList( TQListViewItem *parent, FunctionDom method, TQString modifier ); - void addToUpgradeList( TQListViewItem *parent, VariableDom attr, TQString modifier ); + void addToMethodsList( TQListViewItem *tqparent, FunctionDom method ); + void addToUpgradeList( TQListViewItem *tqparent, FunctionDom method, TQString modifier ); + void addToUpgradeList( TQListViewItem *tqparent, VariableDom attr, TQString modifier ); void clearConstructorsList( bool clean = false ); void clearMethodsList( bool clean = false ); void clearUpgradeList( bool clean = false ); |