#ifndef SIDEBARHEADER_H
#define SIDEBARHEADER_H
-#include <QtGui>
-#if QT_VERSION >= 0x050000
#include <QtWidgets>
-#endif
class SidebarHeader : public QToolBar {
void paintEvent(QPaintEvent *event);
private slots:
- void updateTitle(QString title);
+ void updateTitle(const QString &title);
private:
void setup();
- void setTitle(QString title);
+ void setTitle(const QString &title);
QAction *backAction;
- QAction * forwardAction;
+ QAction *forwardAction;
QString title;
QList<QAction*> videoSourceActions;
};