summaryrefslogtreecommitdiffstats
path: root/src/newui/ddockwindow.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /src/newui/ddockwindow.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/newui/ddockwindow.h')
-rw-r--r--src/newui/ddockwindow.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/newui/ddockwindow.h b/src/newui/ddockwindow.h
index 06cf3eb1..f9abc93f 100644
--- a/src/newui/ddockwindow.h
+++ b/src/newui/ddockwindow.h
@@ -20,8 +20,8 @@
#ifndef DDOCKWINDOW_H
#define DDOCKWINDOW_H
-#include <qdockwindow.h>
-#include <qvaluelist.h>
+#include <tqdockwindow.h>
+#include <tqvaluelist.h>
class QBoxLayout;
class QToolButton;
@@ -38,7 +38,7 @@ namespace Ideal {
class ButtonBar;
}
-class DDockWindow : public QDockWindow {
+class DDockWindow : public TQDockWindow {
Q_OBJECT
public:
enum Position { Bottom, Left, Right };
@@ -50,16 +50,16 @@ public:
bool visible() const { return m_visible; }
Position position() const { return m_position; }
- virtual void addWidget(const QString &title, QWidget *widget, bool skipActivation = false);
- virtual void raiseWidget(QWidget *widget);
- virtual void lowerWidget(QWidget *widget);
+ virtual void addWidget(const TQString &title, TQWidget *widget, bool skipActivation = false);
+ virtual void raiseWidget(TQWidget *widget);
+ virtual void lowerWidget(TQWidget *widget);
/**Removes the widget from dock. Does not delete it.*/
- virtual void removeWidget(QWidget *widget);
+ virtual void removeWidget(TQWidget *widget);
- virtual void hideWidget(QWidget *widget);
- virtual void showWidget(QWidget *widget);
+ virtual void hideWidget(TQWidget *widget);
+ virtual void showWidget(TQWidget *widget);
- virtual QWidget *currentWidget() const;
+ virtual TQWidget *currentWidget() const;
virtual void setMovingEnabled(bool b);
@@ -79,7 +79,7 @@ signals:
private slots:
void selectWidget();
void selectWidget(Ideal::Button *button);
- void contextMenu(QPopupMenu*);
+ void contextMenu(TQPopupMenu*);
void moveToDockLeft();
void moveToDockRight();
void moveToDockBottom();
@@ -89,21 +89,21 @@ protected:
virtual void loadSettings();
Ideal::ButtonBar *m_bar;
- QWidgetStack *m_widgetStack;
+ TQWidgetStack *m_widgetStack;
- QMap<Ideal::Button*, QWidget*> m_widgets;
- QMap<QWidget*, Ideal::Button*> m_buttons;
+ TQMap<Ideal::Button*, TQWidget*> m_widgets;
+ TQMap<TQWidget*, Ideal::Button*> m_buttons;
private:
Position m_position;
bool m_visible;
- QString m_name;
+ TQString m_name;
DMainWindow *m_mainWindow;
bool m_doNotCloseActiveWidget;
Ideal::Button *m_toggledButton;
Ideal::Button *m_lastContextMenuButton;
- QBoxLayout *m_internalLayout;
+ TQBoxLayout *m_internalLayout;
KAction * m_moveToDockLeft;