summaryrefslogtreecommitdiffstats
path: root/konversation/src/viewtree.h
diff options
context:
space:
mode:
Diffstat (limited to 'konversation/src/viewtree.h')
-rw-r--r--konversation/src/viewtree.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/konversation/src/viewtree.h b/konversation/src/viewtree.h
index 948326c..f2d79ff 100644
--- a/konversation/src/viewtree.h
+++ b/konversation/src/viewtree.h
@@ -23,21 +23,21 @@ class ViewTree : public KListView
Q_OBJECT
public:
- explicit ViewTree(QWidget *parent);
+ explicit ViewTree(TQWidget *parent);
~ViewTree();
void selectFirstView(bool select);
- void addView(const QString& name, ChatWindow* view, const QIconSet &iconset, bool select = false, ChatWindow* afterView = 0);
- void setViewName(ChatWindow* view, const QString& name);
- void setViewColor(ChatWindow* view, QColor color);
- void setViewIcon(ChatWindow* view, const QIconSet &iconset);
+ void addView(const TQString& name, ChatWindow* view, const TQIconSet &iconset, bool select = false, ChatWindow* afterView = 0);
+ void setViewName(ChatWindow* view, const TQString& name);
+ void setViewColor(ChatWindow* view, TQColor color);
+ void setViewIcon(ChatWindow* view, const TQIconSet &iconset);
void moveViewUp(ChatWindow* view);
void moveViewDown(ChatWindow* view);
bool canMoveViewUp(ChatWindow* view);
bool canMoveViewDown(ChatWindow* view);
- QPtrList<ChatWindow> getSortedViewList();
+ TQPtrList<ChatWindow> getSortedViewList();
public slots:
void updateAppearance();
@@ -49,27 +49,27 @@ class ViewTree : public KListView
void setViewTreeShown(bool show);
void showView(ChatWindow* view);
void closeView(ChatWindow* view);
- void showViewContextMenu(QWidget* widget, const QPoint& point);
+ void showViewContextMenu(TQWidget* widget, const TQPoint& point);
void sizeChanged();
void syncTabBarToTree();
protected:
- void contentsMousePressEvent(QMouseEvent* e);
- void contentsMouseReleaseEvent(QMouseEvent* e);
- void contentsMouseMoveEvent(QMouseEvent* e);
- void contentsWheelEvent(QWheelEvent* e);
- void contentsContextMenuEvent(QContextMenuEvent* e);
- void keyPressEvent(QKeyEvent* e);
+ void contentsMousePressEvent(TQMouseEvent* e);
+ void contentsMouseReleaseEvent(TQMouseEvent* e);
+ void contentsMouseMoveEvent(TQMouseEvent* e);
+ void contentsWheelEvent(TQWheelEvent* e);
+ void contentsContextMenuEvent(TQContextMenuEvent* e);
+ void keyPressEvent(TQKeyEvent* e);
- void resizeEvent(QResizeEvent* e);
+ void resizeEvent(TQResizeEvent* e);
- void findDrop(const QPoint &pos, QListViewItem *&parent, QListViewItem *&after);
- QDragObject* dragObject();
+ void findDrop(const TQPoint &pos, TQListViewItem *&parent, TQListViewItem *&after);
+ TQDragObject* dragObject();
- void paintEmptyArea(QPainter* p, const QRect& rect);
+ void paintEmptyArea(TQPainter* p, const TQRect& rect);
private slots:
- void announceSelection(QListViewItem* item);
+ void announceSelection(TQListViewItem* item);
void slotAboutToMoveView();
void slotMovedView();
void enableCloseButton();
@@ -84,12 +84,12 @@ class ViewTree : public KListView
ViewTreeItem* getItemForView(ChatWindow* view);
ViewTreeItem* getParentItemForView(ChatWindow* view);
- ViewTreeItem* getLastChild(QListViewItem* parent);
+ ViewTreeItem* getLastChild(TQListViewItem* parent);
bool canMoveItemUp(ViewTreeItem* item);
bool canMoveItemDown(ViewTreeItem* item);
- bool isAboveIcon(QPoint point, ViewTreeItem* item);
+ bool isAboveIcon(TQPoint point, ViewTreeItem* item);
void hideCloseButtons(ViewTreeItem* exception = 0);
ViewTreeItem* m_separator;
@@ -103,7 +103,7 @@ class ViewTree : public KListView
// and the release event occurred over a close button.
bool m_pressedAboveCloseButton;
ViewTreeItem* m_closeButtonItem;
- QTimer* m_enableCloseButtonTimer;
+ TQTimer* m_enableCloseButtonTimer;
// Used for middle-click close.
ViewTreeItem* m_middleClickItem;