blob: afe25d8883fb577a4a763a1ae687619bee838ad2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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() );
}
|