summaryrefslogtreecommitdiffstats
path: root/parts/classview/viewcombos.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /parts/classview/viewcombos.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;