diff options
Diffstat (limited to 'parts/classview/classviewwidget.h')
-rw-r--r-- | parts/classview/classviewwidget.h | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/parts/classview/classviewwidget.h b/parts/classview/classviewwidget.h index 29276a31..bef2e5a0 100644 --- a/parts/classview/classviewwidget.h +++ b/parts/classview/classviewwidget.h @@ -121,10 +121,10 @@ class ClassViewItem: public FancyListViewItem { private: public: - ClassViewItem( TQListView* tqparent, const TQString& text=TQString() ) - : FancyListViewItem( static_cast<ClassViewWidget*>( tqparent )->m_paintStyles, tqparent, text ) {} - ClassViewItem( TQListViewItem* tqparent, const TQString& text=TQString() ) - : FancyListViewItem( static_cast<ClassViewWidget*>( tqparent->listView() )->m_paintStyles, tqparent, text ) {} + ClassViewItem( TQListView* parent, const TQString& text=TQString() ) + : FancyListViewItem( static_cast<ClassViewWidget*>( parent )->m_paintStyles, parent, text ) {} + ClassViewItem( TQListViewItem* parent, const TQString& text=TQString() ) + : FancyListViewItem( static_cast<ClassViewWidget*>( parent->listView() )->m_paintStyles, parent, text ) {} virtual const CodeModelItem* model() const { return 0; } @@ -153,10 +153,10 @@ public: class FolderBrowserItem: public ClassViewItem { public: - FolderBrowserItem( ClassViewWidget* widget, TQListView* tqparent, const TQString& name=TQString() ) - : ClassViewItem( tqparent, name ), m_widget(widget) {} - FolderBrowserItem( ClassViewWidget* widget, TQListViewItem* tqparent, const TQString& name=TQString() ) - : ClassViewItem( tqparent, name ), m_widget(widget) {} + FolderBrowserItem( ClassViewWidget* widget, TQListView* parent, const TQString& name=TQString() ) + : ClassViewItem( parent, name ), m_widget(widget) {} + FolderBrowserItem( ClassViewWidget* widget, TQListViewItem* parent, const TQString& name=TQString() ) + : ClassViewItem( parent, name ), m_widget(widget) {} virtual bool isFolder() const { return true; } @@ -185,10 +185,10 @@ private: class NamespaceDomBrowserItem: public ClassViewItem { public: - NamespaceDomBrowserItem( TQListView* tqparent, NamespaceDom dom ) - : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {} - NamespaceDomBrowserItem( TQListViewItem* tqparent, NamespaceDom dom ) - : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {} + NamespaceDomBrowserItem( TQListView* parent, NamespaceDom dom ) + : ClassViewItem( parent, dom->name() ), m_dom( dom ) {} + NamespaceDomBrowserItem( TQListViewItem* parent, NamespaceDom dom ) + : ClassViewItem( parent, dom->name() ), m_dom( dom ) {} const CodeModelItem* model() const { return m_dom; } @@ -219,10 +219,10 @@ private: class ClassDomBrowserItem: public ClassViewItem { public: - ClassDomBrowserItem( TQListView* tqparent, ClassDom dom ) - : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {} - ClassDomBrowserItem( TQListViewItem* tqparent, ClassDom dom ) - : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {} + ClassDomBrowserItem( TQListView* parent, ClassDom dom ) + : ClassViewItem( parent, dom->name() ), m_dom( dom ) {} + ClassDomBrowserItem( TQListViewItem* parent, ClassDom dom ) + : ClassViewItem( parent, dom->name() ), m_dom( dom ) {} const CodeModelItem* model() const { return m_dom; } virtual bool isClass() const { return true; } @@ -257,10 +257,10 @@ private: class TypeAliasDomBrowserItem: public ClassViewItem { public: - TypeAliasDomBrowserItem( TQListView* tqparent, TypeAliasDom dom ) - : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {} - TypeAliasDomBrowserItem( TQListViewItem* tqparent, TypeAliasDom dom ) - : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {} + TypeAliasDomBrowserItem( TQListView* parent, TypeAliasDom dom ) + : ClassViewItem( parent, dom->name() ), m_dom( dom ) {} + TypeAliasDomBrowserItem( TQListViewItem* parent, TypeAliasDom dom ) + : ClassViewItem( parent, dom->name() ), m_dom( dom ) {} const CodeModelItem* model() const { return m_dom; } virtual bool isTypeAlias() const { return true; } @@ -285,10 +285,10 @@ private: class FunctionDomBrowserItem: public ClassViewItem { public: - FunctionDomBrowserItem( TQListView* tqparent, FunctionDom dom ) - : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {} - FunctionDomBrowserItem( TQListViewItem* tqparent, FunctionDom dom ) - : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {} + FunctionDomBrowserItem( TQListView* parent, FunctionDom dom ) + : ClassViewItem( parent, dom->name() ), m_dom( dom ) {} + FunctionDomBrowserItem( TQListViewItem* parent, FunctionDom dom ) + : ClassViewItem( parent, dom->name() ), m_dom( dom ) {} const CodeModelItem* model() const { return m_dom; } virtual bool isFunction() const { return true; } @@ -316,10 +316,10 @@ private: class VariableDomBrowserItem: public ClassViewItem { public: - VariableDomBrowserItem( TQListView* tqparent, VariableDom dom ) - : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {} - VariableDomBrowserItem( TQListViewItem* tqparent, VariableDom dom ) - : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {} + VariableDomBrowserItem( TQListView* parent, VariableDom dom ) + : ClassViewItem( parent, dom->name() ), m_dom( dom ) {} + VariableDomBrowserItem( TQListViewItem* parent, VariableDom dom ) + : ClassViewItem( parent, dom->name() ), m_dom( dom ) {} const CodeModelItem* model() const { return m_dom; } virtual bool isVariable() const { return true; } |