aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/widgets/LabeledToolButton.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-02 18:35:35 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2023-08-02 18:35:35 +0200
commit1d468ac35ad88d8c77cc83f25e3704d9bd7df01b (patch)
tree8644b1574c947a1a87c5c7b2567f746cfe17882f /launcher/ui/widgets/LabeledToolButton.h
parentce2ca1381519a2e261d7f76dffa874d559d979c2 (diff)
downloadPrismLauncher-1d468ac35ad88d8c77cc83f25e3704d9bd7df01b.tar.gz
PrismLauncher-1d468ac35ad88d8c77cc83f25e3704d9bd7df01b.tar.bz2
PrismLauncher-1d468ac35ad88d8c77cc83f25e3704d9bd7df01b.zip
chore: reformat
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/ui/widgets/LabeledToolButton.h')
-rw-r--r--launcher/ui/widgets/LabeledToolButton.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/launcher/ui/widgets/LabeledToolButton.h b/launcher/ui/widgets/LabeledToolButton.h
index 51f99e9b..0bb5e28d 100644
--- a/launcher/ui/widgets/LabeledToolButton.h
+++ b/launcher/ui/widgets/LabeledToolButton.h
@@ -20,21 +20,21 @@
class QLabel;
-class LabeledToolButton : public QToolButton
-{
+class LabeledToolButton : public QToolButton {
Q_OBJECT
- QLabel * m_label;
+ QLabel* m_label;
QIcon m_icon;
-public:
- LabeledToolButton(QWidget * parent = 0);
+ public:
+ LabeledToolButton(QWidget* parent = 0);
QString text() const;
- void setText(const QString & text);
+ void setText(const QString& text);
void setIcon(QIcon icon);
virtual QSize sizeHint() const;
-protected:
- void resizeEvent(QResizeEvent * event);
+
+ protected:
+ void resizeEvent(QResizeEvent* event);
void resetIcon();
};