Diffstat (limited to 'noncore/unsupported/mobilemsg/mobilemsg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/mobilemsg/mobilemsg.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/noncore/unsupported/mobilemsg/mobilemsg.cpp b/noncore/unsupported/mobilemsg/mobilemsg.cpp new file mode 100644 index 0000000..9a4db35 --- a/dev/null +++ b/noncore/unsupported/mobilemsg/mobilemsg.cpp | |||
@@ -0,0 +1,33 @@ | |||
1 | #include "mobilemsg.h" | ||
2 | |||
3 | |||
4 | |||
5 | |||
6 | /* | ||
7 | * Constructs a MobileMsg which is a child of 'parent', with the | ||
8 | * name 'name' and widget flags set to 'f' | ||
9 | */ | ||
10 | MobileMsg::MobileMsg( QWidget* parent, const char* name, WFlags fl ) | ||
11 | : MobileMsgBase( parent, name, fl ) | ||
12 | { | ||
13 | //connect(add, SIGNAL(clicked()), this, SLOT(goodBye())); | ||
14 | //connect(remove, SIGNAL(clicked()), this, SLOT(goodBye())); | ||
15 | //connect(props, SIGNAL(clicked()), this, SLOT(goodBye())); | ||
16 | //connect(settings, SIGNAL(selectionChanged()), this, SLOT(goodBye()) ); | ||
17 | } | ||
18 | |||
19 | /* | ||
20 | * Destroys the object and frees any allocated resources | ||
21 | */ | ||
22 | MobileMsg::~MobileMsg() | ||
23 | { | ||
24 | // no need to delete child widgets, Qt does it all for us | ||
25 | } | ||
26 | |||
27 | /* | ||
28 | * A simple slot... not very interesting. | ||
29 | */ | ||
30 | void MobileMsg::goodBye() | ||
31 | { | ||
32 | close(); | ||
33 | } | ||