summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/structtreeview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /quanta/treeviews/structtreeview.h
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;