summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/structtreeview.h
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/treeviews/structtreeview.h')
-rw-r--r--quanta/treeviews/structtreeview.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/quanta/treeviews/structtreeview.h b/quanta/treeviews/structtreeview.h
index 45150579..09a95a07 100644
--- a/quanta/treeviews/structtreeview.h
+++ b/quanta/treeviews/structtreeview.h
@@ -40,6 +40,7 @@ struct DTDStruct;
class StructTreeView : public KListView {
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -48,10 +49,10 @@ public:
* the parameters are only used at the first call to create the class
*
*/
- static StructTreeView* const ref(TQWidget *parent = 0L, const char *name = 0L)
+ static StructTreeView* const ref(TQWidget *tqparent = 0L, const char *name = 0L)
{
static StructTreeView *m_ref;
- if (!m_ref) m_ref = new StructTreeView (parent, name);
+ if (!m_ref) m_ref = new StructTreeView (tqparent, name);
return m_ref;
}
@@ -71,7 +72,7 @@ public:
bool useOpenLevelSetting;
public slots: // Public slots
- /** repaint document structure */
+ /** tqrepaint document structure */
void slotReparse(Document *w, Node* node, int openLevel = 3,bool groupOnly=false);
void slotMouseClicked(int button, TQListViewItem*, const TQPoint&, int);
void slotDoubleClicked( TQListViewItem * );
@@ -112,7 +113,7 @@ private:
* If you need the class use StructTreeView::ref() for
* construction and reference
*/
- StructTreeView(TQWidget *parent=0, const char *name=0);
+ StructTreeView(TQWidget *tqparent=0, const char *name=0);
/** builds the structure tree */
void buildTree(Node *baseNode, int openLevel, bool groupOnly);
/** Do the recursive opening or closing of the trees */
@@ -121,8 +122,8 @@ private:
/** Make ctrl have the same behavior has shift */
void setContiguousSelectedItems();
- void copySelectedItems(TQListViewItem* parent, TQListViewItem* after);
- void moveSelectedItems(TQListViewItem* parent, TQListViewItem* after);
+ void copySelectedItems(TQListViewItem* tqparent, TQListViewItem* after);
+ void moveSelectedItems(TQListViewItem* tqparent, TQListViewItem* after);
private:
@@ -166,7 +167,7 @@ protected slots: // Protected slots
void slotDTDChanged(int id);
void slotMouseClickedVPL(int button, TQListViewItem*, const TQPoint&, int);
- virtual void slotDropped(TQDropEvent* e, TQListViewItem* parent, TQListViewItem* after);
+ virtual void slotDropped(TQDropEvent* e, TQListViewItem* tqparent, TQListViewItem* after);
protected: // Protected attributes
Document *write;