Diffstat (limited to 'noncore/settings/aqpkg/letterpushbutton.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/letterpushbutton.cpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/letterpushbutton.cpp b/noncore/settings/aqpkg/letterpushbutton.cpp new file mode 100644 index 0000000..afe25d8 --- a/dev/null +++ b/noncore/settings/aqpkg/letterpushbutton.cpp | |||
@@ -0,0 +1,34 @@ | |||
1 | /*************************************************************************** | ||
2 | letterpushbutton.cpp - description | ||
3 | ------------------- | ||
4 | begin : Wed Oct 16 2002 | ||
5 | copyright : (C) 2002 by Andy Qua | ||
6 | email : andy.qua@blueyonder.co.uk | ||
7 | ***************************************************************************/ | ||
8 | |||
9 | /*************************************************************************** | ||
10 | * * | ||
11 | * This program is free software; you can redistribute it and/or modify * | ||
12 | * it under the terms of the GNU General Public License as published by * | ||
13 | * the Free Software Foundation; either version 2 of the License, or * | ||
14 | * (at your option) any later version. * | ||
15 | * * | ||
16 | ***************************************************************************/ | ||
17 | |||
18 | #include "letterpushbutton.h" | ||
19 | |||
20 | LetterPushButton :: LetterPushButton( const QString &text, QWidget *parent, const char *name=0 ) | ||
21 | : QPushButton( text, parent, name ) | ||
22 | { | ||
23 | connect( this, SIGNAL(released()), this, SLOT(released_emmitor()) ); | ||
24 | } | ||
25 | |||
26 | LetterPushButton :: ~LetterPushButton() | ||
27 | { | ||
28 | } | ||
29 | |||
30 | void LetterPushButton :: released_emmitor() | ||
31 | { | ||
32 | emit released( text() ); | ||
33 | } | ||
34 | |||