const QString &iconName, const QString &text,\r
bool important = false);\r
\r
+ /** Add tool bar. */\r
+ void addToolBar();\r
+\r
/** Add spacing to tool bar. */\r
void addToolBarSpace();\r
\r
void show();\r
\r
protected:\r
- /** Handle resize event: Manage tool bar visibility. */\r
- void resizeEvent(QResizeEvent *event);\r
-\r
- /** Handle show event: Manage tool bar visibility. */\r
- void showEvent(QShowEvent *event);\r
-\r
- /**\r
- * Update toolb ar visibility.\r
- * On Symbian, the tool bar is not visible in landscape mode.\r
- */\r
- void updateToolBar();\r
-\r
- /** Hide tool bar if visible. */\r
- void hideToolBar();\r
-\r
- /** Return true if the tool bar is present and hidden. */\r
- bool isToolBarHidden();\r
-\r
/** Return the height of the tool bar (or 0 if there is no tool bar). */\r
int toolBarHeight();\r
\r
+#if 0 // ifdef Q_OS_SYMBIAN\r
+ /** Handle resize. */\r
+ void resizeEvent(QResizeEvent *e);\r
+#endif\r
+\r
private:\r
- QToolBar *toolBar; /**< Tool bar. */\r
+ QToolBar *toolBar;\r
};\r
\r
#endif // MAINBASE_H\r