Diffstat (limited to 'noncore/unsupported/mobilemsg/mobilemsg.cpp') (more/less context) (show 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 @@ +#include "mobilemsg.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(); +} |