summaryrefslogtreecommitdiffstats
path: root/parts/classview/viewcombos.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/classview/viewcombos.cpp')
-rw-r--r--parts/classview/viewcombos.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/parts/classview/viewcombos.cpp b/parts/classview/viewcombos.cpp
index 63e861c6..bb7bf01d 100644
--- a/parts/classview/viewcombos.cpp
+++ b/parts/classview/viewcombos.cpp
@@ -27,13 +27,13 @@
#include "viewcombos.h"
#include "classviewpart.h"
-NamespaceItem::NamespaceItem(ClassViewPart *part, QListView *parent, QString name, NamespaceDom dom)
- :QListViewItem(parent, name), m_dom(dom), m_part(part)
+NamespaceItem::NamespaceItem(ClassViewPart *part, TQListView *parent, TQString name, NamespaceDom dom)
+ :TQListViewItem(parent, name), m_dom(dom), m_part(part)
{
}
-NamespaceItem::NamespaceItem(ClassViewPart *part, QListViewItem *parent, QString name, NamespaceDom dom)
- :QListViewItem(parent, name), m_dom(dom), m_part(part)
+NamespaceItem::NamespaceItem(ClassViewPart *part, TQListViewItem *parent, TQString name, NamespaceDom dom)
+ :TQListViewItem(parent, name), m_dom(dom), m_part(part)
{
}
@@ -48,18 +48,18 @@ NamespaceDom NamespaceItem::dom() const
void NamespaceItem::setup()
{
- QListViewItem::setup();
+ TQListViewItem::setup();
setPixmap( 0, UserIcon("CVnamespace", KIcon::DefaultState, m_part->instance()) );
}
-ClassItem::ClassItem(ClassViewPart *part, QListView *parent, QString name, ClassDom dom)
- :QListViewItem(parent, name), m_dom(dom), m_part(part)
+ClassItem::ClassItem(ClassViewPart *part, TQListView *parent, TQString name, ClassDom dom)
+ :TQListViewItem(parent, name), m_dom(dom), m_part(part)
{
}
-ClassItem::ClassItem(ClassViewPart *part, QListViewItem *parent, QString name, ClassDom dom)
- :QListViewItem(parent, name), m_dom(dom), m_part(part)
+ClassItem::ClassItem(ClassViewPart *part, TQListViewItem *parent, TQString name, ClassDom dom)
+ :TQListViewItem(parent, name), m_dom(dom), m_part(part)
{
}
@@ -74,18 +74,18 @@ ClassDom ClassItem::dom() const
void ClassItem::setup()
{
- QListViewItem::setup();
+ TQListViewItem::setup();
setPixmap( 0, UserIcon("CVclass", KIcon::DefaultState, m_part->instance()) );
}
-FunctionItem::FunctionItem(ClassViewPart *part, QListView *parent, QString name, FunctionDom dom)
- :QListViewItem(parent, name), m_dom(dom), m_part(part)
+FunctionItem::FunctionItem(ClassViewPart *part, TQListView *parent, TQString name, FunctionDom dom)
+ :TQListViewItem(parent, name), m_dom(dom), m_part(part)
{
}
-FunctionItem::FunctionItem(ClassViewPart *part, QListViewItem *parent, QString name, FunctionDom dom)
- :QListViewItem(parent, name), m_dom(dom), m_part(part)
+FunctionItem::FunctionItem(ClassViewPart *part, TQListViewItem *parent, TQString name, FunctionDom dom)
+ :TQListViewItem(parent, name), m_dom(dom), m_part(part)
{
}
@@ -100,8 +100,8 @@ FunctionDom FunctionItem::dom() const
void FunctionItem::setup()
{
- QListViewItem::setup();
- QString iconName;
+ TQListViewItem::setup();
+ TQString iconName;
if( m_dom->access() == CodeModelItem::Private )
iconName = "CVprivate_meth";
else if( m_dom->access() == CodeModelItem::Protected )
@@ -131,7 +131,7 @@ void refreshNamespaces(ClassViewPart *part, KComboView *view)
view->setCurrentActiveItem(global_item);
}
-void refreshClasses(ClassViewPart *part, KComboView *view, const QString &dom)
+void refreshClasses(ClassViewPart *part, KComboView *view, const TQString &dom)
{
view->clear();
@@ -168,7 +168,7 @@ void refreshFunctions(ClassViewPart *part, KComboView *view, const ClassDom & do
}
}
-void refreshFunctions(ClassViewPart *part, KComboView *view, const QString & dom)
+void refreshFunctions(ClassViewPart *part, KComboView *view, const TQString & dom)
{
view->clear();
@@ -194,7 +194,7 @@ void refreshFunctions(ClassViewPart *part, KComboView *view, const QString & dom
}
-NamespaceDom ViewCombosOp::namespaceByName( NamespaceDom dom, QString name )
+NamespaceDom ViewCombosOp::namespaceByName( NamespaceDom dom, TQString name )
{
NamespaceDom result;