author | davipt <davipt> | 2002-06-25 19:14:38 (UTC) |
---|---|---|
committer | davipt <davipt> | 2002-06-25 19:14:38 (UTC) |
commit | 8635f264c15b05152fc1a44f798c154472a4b227 (patch) (side-by-side diff) | |
tree | 697d0edc65ee5a6cc61429eb6e70880ccc06aeb5 /noncore/comm/mobilemsg/mobilemsg.cpp | |
parent | cfd080ed605cdfc878f8a5e519ac53fc331092d9 (diff) | |
download | opie-8635f264c15b05152fc1a44f798c154472a4b227.zip opie-8635f264c15b05152fc1a44f798c154472a4b227.tar.gz opie-8635f264c15b05152fc1a44f798c154472a4b227.tar.bz2 |
A Short Messaging (SMS) Sending application with Nokia Smart Messaging and
EMS
Diffstat (limited to 'noncore/comm/mobilemsg/mobilemsg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/comm/mobilemsg/mobilemsg.cpp | 38 |
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(); +} |