summaryrefslogtreecommitdiff
path: root/noncore/comm/mobilemsg/mobilemsg.cpp
blob: 707872e080cbb789c9d1380e097787dacd5eeec8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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();
}