summaryrefslogtreecommitdiffstats
path: root/quanta/utility/toolbartabwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /quanta/utility/toolbartabwidget.h
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/utility/toolbartabwidget.h')
-rw-r--r--quanta/utility/toolbartabwidget.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/quanta/utility/toolbartabwidget.h b/quanta/utility/toolbartabwidget.h
index aa800ae6..2fcc6718 100644
--- a/quanta/utility/toolbartabwidget.h
+++ b/quanta/utility/toolbartabwidget.h
@@ -15,8 +15,8 @@
#ifndef TOOLBARTABWIDGET_H
#define TOOLBARTABWIDGET_H
-#include <qwidget.h>
-#include <qmap.h>
+#include <tqwidget.h>
+#include <tqmap.h>
class QTabWidget;
class KPopupMenu;
@@ -28,9 +28,9 @@ class ToolbarTabWidget: public QTabWidget
{
Q_OBJECT
public:
- QWidgetStack *m_widgetStack;
+ TQWidgetStack *m_widgetStack;
- static ToolbarTabWidget* const ref(QWidget *parent = 0L, const char *name = 0L)
+ static ToolbarTabWidget* const ref(TQWidget *parent = 0L, const char *name = 0L)
{
static ToolbarTabWidget *m_ref;
if (!m_ref) m_ref = new ToolbarTabWidget (parent, name);
@@ -38,18 +38,18 @@ public:
}
virtual ~ToolbarTabWidget(){};
- virtual void insertTab(QWidget *child, const QString &label, const QString &id);
- virtual QWidget* page(int index);
- virtual QWidget* page(const QString& id);
+ virtual void insertTab(TQWidget *child, const TQString &label, const TQString &id);
+ virtual TQWidget* page(int index);
+ virtual TQWidget* page(const TQString& id);
int tabHeight() const;
- QString id(QWidget *w) const;
- QString id(int index) const;
+ TQString id(TQWidget *w) const;
+ TQString id(int index) const;
KToolBar::IconText iconText() const {return m_iconText;}
void setIconText(KToolBar::IconText mode) {m_iconText = mode; emit iconTextModeChanged();}
public slots:
- virtual void removePage(QWidget * w );
- virtual void resizeEvent(QResizeEvent *);
+ virtual void removePage(TQWidget * w );
+ virtual void resizeEvent(TQResizeEvent *);
private slots:
void slotRemoveToolbar();
@@ -57,26 +57,26 @@ private slots:
void slotEditToolbar();
signals:
- void removeToolbar(const QString&);
- void renameToolbar(const QString&);
- void editToolbar(const QString&);
+ void removeToolbar(const TQString&);
+ void renameToolbar(const TQString&);
+ void editToolbar(const TQString&);
void newAction();
void addToolbar();
void iconTextModeChanged();
public:
- QString tabUnderMouse;
- QString tabUnderMouseLabel;
+ TQString tabUnderMouse;
+ TQString tabUnderMouseLabel;
protected:
- virtual void mousePressEvent ( QMouseEvent * e );
+ virtual void mousePressEvent ( TQMouseEvent * e );
KPopupMenu *m_popupMenu;
- QTabBar *m_tabBar;
- QMap<QString, QWidget*> toolbarList;
+ TQTabBar *m_tabBar;
+ TQMap<TQString, TQWidget*> toolbarList;
private:
- ToolbarTabWidget(QWidget * parent = 0, const char * name = 0, WFlags f = 0);
+ ToolbarTabWidget(TQWidget * parent = 0, const char * name = 0, WFlags f = 0);
KToolBar::IconText m_iconText;
};
@@ -86,7 +86,7 @@ class QuantaToolBar: public KToolBar
Q_OBJECT
public:
- QuantaToolBar (QWidget *parent, const char *name=0, bool honor_style=FALSE, bool readConfig=TRUE);
+ QuantaToolBar (TQWidget *parent, const char *name=0, bool honor_style=FALSE, bool readConfig=TRUE);
virtual ~QuantaToolBar() {};
private slots:
@@ -96,16 +96,16 @@ private slots:
void slotIconTextMenuAboutToShow();
signals:
- void removeAction(const QString&, const QString&);
- void editAction(const QString&);
+ void removeAction(const TQString&, const TQString&);
+ void editAction(const TQString&);
protected:
- virtual void mousePressEvent ( QMouseEvent * e );
+ virtual void mousePressEvent ( TQMouseEvent * e );
KPopupMenu *m_popupMenu;
KPopupMenu *m_iconTextMenu;
ToolbarTabWidget *m_toolbarTab;
- QString currentActionName;
+ TQString currentActionName;
};
#endif