#ifndef SIDEBARHEADER_H
#define SIDEBARHEADER_H
-#include <QtGui>
+#include <QtWidgets>
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;
};