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