rename header files from *.h to *.hpp

This commit is contained in:
Rasmus Karlsson
2017-06-11 09:31:45 +02:00
parent 961f22819e
commit 1c6ff37e76
104 changed files with 327 additions and 326 deletions
+37
View File
@@ -0,0 +1,37 @@
#pragma once
#include "fancybutton.hpp"
#include <QWidget>
namespace chatterino {
namespace widgets {
class NotebookButton : public FancyButton
{
Q_OBJECT
public:
static const int IconPlus = 0;
static const int IconUser = 1;
static const int IconSettings = 2;
int icon = 0;
NotebookButton(QWidget *parent);
protected:
void paintEvent(QPaintEvent *) override;
void mouseReleaseEvent(QMouseEvent *event) override;
signals:
void clicked();
private:
bool _mouseOver = false;
bool _mouseDown = false;
QPoint _mousePos;
};
} // namespace widgets
} // namespace chatterino