summaryrefslogtreecommitdiffstats
path: root/kate/kpybrowser/pybrowsenode.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit84da08d7b7fcda12c85caeb5a10b4903770a6f69 (patch)
tree2a6aea76f2dfffb4cc04bb907c4725af94f70e72 /kate/kpybrowser/pybrowsenode.h
downloadtdeaddons-84da08d7b7fcda12c85caeb5a10b4903770a6f69.tar.gz
tdeaddons-84da08d7b7fcda12c85caeb5a10b4903770a6f69.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/kpybrowser/pybrowsenode.h')
-rw-r--r--kate/kpybrowser/pybrowsenode.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/kate/kpybrowser/pybrowsenode.h b/kate/kpybrowser/pybrowsenode.h
new file mode 100644
index 0000000..d5083f9
--- /dev/null
+++ b/kate/kpybrowser/pybrowsenode.h
@@ -0,0 +1,68 @@
+/***************************************************************************
+ pybrowsenode.h - description
+ -------------------
+ begin : Mon Aug 27 2001
+ copyright : (C) 2001 by Christian Bird
+ email : chrisb@lineo.com
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#ifndef PYBROWSENODE_H
+#define PYBROWSENODE_H
+
+#include <qlistview.h>
+#include <qpixmap.h>
+
+#define PYCLASS 1
+#define PYMETHOD 2
+#define PYFUNCTION 3
+#define PYVARIABLE 4
+#define PYOTHER 5
+
+/**
+ *@author Christian Bird
+ */
+
+
+
+class PyBrowseNode : public QListViewItem {
+public:
+ QPixmap *pyClassPixmap;
+
+ PyBrowseNode(QListView *parent, const QString &a_name, const QString &a_signature, int type);
+ PyBrowseNode(QListViewItem *parent, const QString &a_name, const QString &a_signature, int type);
+ ~PyBrowseNode();
+
+ void init(const QString &a_name, const QString &a_signature, int nodeType);
+
+ void setName(const QString &name);
+ QString getName()const ;
+ void setLine(int line);
+ int getLine()const;
+ void setSig(const QString &signature);
+ QString getSig()const;
+ void setType(int type);
+ int getType()const;
+ void setClass(const QString &a_method_class);
+ QString getClass()const;
+
+ QString getQualifiedName()const;
+
+private:
+ QString name;
+ QString signature;
+ QString node_class;
+ int line;
+ int node_type;
+
+};
+
+#endif