summaryrefslogtreecommitdiff
path: root/noncore/comm/mobilemsg/mobilemsg.cpp
Side-by-side diff
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 @@
+#include "mobilemsg.h"
+#include <qpushbutton.h>
+
+#include <qpe/qpeapplication.h>
+
+#include <qlistbox.h>
+#include <qpushbutton.h>
+#include <qlayout.h>
+
+
+/*
+ * Constructs a MobileMsg which is a child of 'parent', with the
+ * name 'name' and widget flags set to 'f'
+ */
+MobileMsg::MobileMsg( QWidget* parent, const char* name, WFlags fl )
+ : MobileMsgBase( parent, name, fl )
+{
+ //connect(add, SIGNAL(clicked()), this, SLOT(goodBye()));
+ //connect(remove, SIGNAL(clicked()), this, SLOT(goodBye()));
+ //connect(props, SIGNAL(clicked()), this, SLOT(goodBye()));
+ //connect(settings, SIGNAL(selectionChanged()), this, SLOT(goodBye()) );
+}
+
+/*
+ * Destroys the object and frees any allocated resources
+ */
+MobileMsg::~MobileMsg()
+{
+ // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ * A simple slot... not very interesting.
+ */
+void MobileMsg::goodBye()
+{
+ close();
+}