summaryrefslogtreecommitdiffstats
path: root/pacman-c++/clicklabel.cpp
diff options
context:
space:
mode:
authortotycro <totycro@unknown-horizons.org>2011-04-09 15:11:35 +0200
committertotycro <totycro@unknown-horizons.org>2011-04-09 15:11:35 +0200
commit13199a5212e210206b8d6b938f7c1683760cf226 (patch)
treecba982d54d62081589d31f188796b65fc51b703d /pacman-c++/clicklabel.cpp
parent979c3b4528da1608404d6e163211280fee5da9c5 (diff)
parent827a9b10539af4a8c4cff70fa345254668d294c7 (diff)
downloadfoop-13199a5212e210206b8d6b938f7c1683760cf226.tar.gz
foop-13199a5212e210206b8d6b938f7c1683760cf226.tar.bz2
foop-13199a5212e210206b8d6b938f7c1683760cf226.zip
Merge branch 'master' of git.manuel.mausz.at:/foop
Conflicts: pacman-c++/sceneholder.cpp pacman-c++/util.h
Diffstat (limited to 'pacman-c++/clicklabel.cpp')
-rw-r--r--pacman-c++/clicklabel.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/pacman-c++/clicklabel.cpp b/pacman-c++/clicklabel.cpp
new file mode 100644
index 0000000..87b06b8
--- /dev/null
+++ b/pacman-c++/clicklabel.cpp
@@ -0,0 +1,12 @@
1#include "clicklabel.h"
2
3ClickLabel::ClickLabel(const QString &text, QWidget *parent, Qt::WindowFlags f)
4 : QLabel(text, parent, f)
5{
6}
7
8void ClickLabel::mouseReleaseEvent(QMouseEvent * /* event */)
9{
10 emit clicked();
11}
12