summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/letterpushbutton.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/aqpkg/letterpushbutton.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/letterpushbutton.cpp34
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 @@
+/***************************************************************************
+ letterpushbutton.cpp - description
+ -------------------
+ begin : Wed Oct 16 2002
+ copyright : (C) 2002 by Andy Qua
+ email : andy.qua@blueyonder.co.uk
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#include "letterpushbutton.h"
+
+LetterPushButton :: LetterPushButton( const QString &text, QWidget *parent, const char *name=0 )
+ : QPushButton( text, parent, name )
+{
+ connect( this, SIGNAL(released()), this, SLOT(released_emmitor()) );
+}
+
+LetterPushButton :: ~LetterPushButton()
+{
+}
+
+void LetterPushButton :: released_emmitor()
+{
+ emit released( text() );
+}
+