diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
commit | 7346aee26bf190a7e70333c40fab4caca847cd27 (patch) | |
tree | 4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /kate/kpybrowser/pybrowsenode.cpp | |
parent | 23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff) | |
download | tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/kpybrowser/pybrowsenode.cpp')
-rw-r--r-- | kate/kpybrowser/pybrowsenode.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kate/kpybrowser/pybrowsenode.cpp b/kate/kpybrowser/pybrowsenode.cpp index 866924b..81c59e5 100644 --- a/kate/kpybrowser/pybrowsenode.cpp +++ b/kate/kpybrowser/pybrowsenode.cpp @@ -99,30 +99,30 @@ static const char *py_function_xpm[] = { }; -PyBrowseNode::PyBrowseNode (QListViewItem * parent, const QString &name, - const QString &signature, int nodeType): -QListViewItem (parent, signature) +PyBrowseNode::PyBrowseNode (TQListViewItem * parent, const TQString &name, + const TQString &signature, int nodeType): +TQListViewItem (parent, signature) { init (name, signature, nodeType); } -PyBrowseNode::PyBrowseNode (QListView * parent, const QString &name, - const QString &signature, int nodeType): -QListViewItem (parent, signature) +PyBrowseNode::PyBrowseNode (TQListView * parent, const TQString &name, + const TQString &signature, int nodeType): +TQListViewItem (parent, signature) { init (name, signature, nodeType); } void -PyBrowseNode::init (const QString &a_name, const QString &a_signature, int nodeType) +PyBrowseNode::init (const TQString &a_name, const TQString &a_signature, int nodeType) { node_type = nodeType; if (nodeType == PYCLASS) - setPixmap (0, QPixmap (py_class_xpm)); + setPixmap (0, TQPixmap (py_class_xpm)); if (nodeType == PYMETHOD) - setPixmap (0, QPixmap (py_method_xpm)); + setPixmap (0, TQPixmap (py_method_xpm)); if (nodeType == PYFUNCTION) - setPixmap (0, QPixmap (py_function_xpm)); + setPixmap (0, TQPixmap (py_function_xpm)); name = a_name; signature = a_signature; @@ -130,11 +130,11 @@ PyBrowseNode::init (const QString &a_name, const QString &a_signature, int nodeT PyBrowseNode::~PyBrowseNode () { - setPixmap (0, QPixmap (py_class_xpm)); + setPixmap (0, TQPixmap (py_class_xpm)); } void -PyBrowseNode::setName (const QString &a_name) +PyBrowseNode::setName (const TQString &a_name) { name = a_name; setText (0, name); @@ -147,7 +147,7 @@ PyBrowseNode::getName ()const } void -PyBrowseNode::setSig (const QString &a_signature) +PyBrowseNode::setSig (const TQString &a_signature) { signature = a_signature; @@ -185,7 +185,7 @@ PyBrowseNode::getType ()const } void -PyBrowseNode::setClass (const QString &a_method_class) +PyBrowseNode::setClass (const TQString &a_method_class) { node_class = a_method_class; } |