blob: d87a81da23e30cccf74070ae3bd8e00cc8d4cc00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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 <tqlistview.h>
#include <tqpixmap.h>
#define PYCLASS 1
#define PYQT_METHOD 2
#define PYFUNCTION 3
#define PYVARIABLE 4
#define PYOTHER 5
/**
*@author Christian Bird
*/
class PyBrowseNode : public TQListViewItem {
public:
TQPixmap *pyClassPixmap;
PyBrowseNode(TQListView *parent, const TQString &a_name, const TQString &a_signature, int type);
PyBrowseNode(TQListViewItem *parent, const TQString &a_name, const TQString &a_signature, int type);
~PyBrowseNode();
void init(const TQString &a_name, const TQString &a_signature, int nodeType);
void setName(const TQString &name);
TQString getName()const ;
void setLine(int line);
int getLine()const;
void setSig(const TQString &signature);
TQString getSig()const;
void setType(int type);
int getType()const;
void setClass(const TQString &a_method_class);
TQString getClass()const;
TQString getQualifiedName()const;
private:
TQString name;
TQString signature;
TQString node_class;
int line;
int node_type;
};
#endif
|