27 #ifndef ACTIONTOOLBAR_H
28 #define ACTIONTOOLBAR_H
34 namespace qutim_sdk_0_3
36 class ActionToolBarPrivate;
43 explicit ActionToolBar(
const QString &title, QWidget *parent = 0);
47 using QToolBar::addAction;
49 using QToolBar::insertAction;
51 using QToolBar::removeAction;
57 void setData(
const QVariant &var);
58 QVariant data()
const;
60 void setMoveHookEnabled(
bool enabled =
true);
63 using QToolBar::setIconSize;
64 void setIconSize(
const QSize & iconSize);
65 using QToolBar::setToolButtonStyle;
66 void setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle);
69 void changeEvent(QEvent *e);
70 void mouseMoveEvent(QMouseEvent* event);
71 void mousePressEvent(QMouseEvent* event);
72 void contextMenuEvent(QContextMenuEvent* event);
73 void showEvent(QShowEvent *event);
74 void hideEvent(QHideEvent *);
76 QScopedPointer<ActionToolBarPrivate> d_ptr;
77 Q_PRIVATE_SLOT(d_func(),
void _q_size_action_triggered(QAction*))
78 Q_PRIVATE_SLOT(d_func(),
void _q_style_action_triggered(QAction*))
82 #endif // ACTIONTOOLBAR_H