00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
#ifndef NEWCONTACT_H
00013
#define NEWCONTACT_H
00014
00015
#include "newcontactdlg.h"
00016
00017
00018
00019
00020
00021
00022
00023
00024 class NewContact :
public FormNewContactDlg
00025 {
00026 Q_OBJECT
00027
00028
public:
00029
00030
00031
00032
00033
00034
00035
NewContact(QWidget* parent = 0,
const char* name = 0,
bool modal =
false, WFlags fl = 0,
const QString& Mode =
"new",
00036
const QString& ContactId = 0,
const QString& ContactType = 0,
const QString& ContactName = 0,
const QString& ContactNumber = 0);
00037
00038
00039
00040
00041
00042
~NewContact();
00043
00044
00045 signals:
00046
00047
00048
00049
void transmitContact(
const QString&,
const QString&,
const QString&,
const QString&);
00050
00051
00052
00053
00054
void transmitLedStateGreen();
00055
00056
00057
public slots:
00058
00059
00060
00061
virtual void readContact();
00062
00063
00064
00065
00066
virtual void closeDialog();
00067
00068
00069
protected:
00070
00071
00072
protected slots:
00073
00074
00075
private:
00076
00077
00078
00079 QString
m_phoneContactId,
m_phoneContactType,
m_phoneContactName,
m_phoneContactNumber;
00080
00081 };
00082
00083
#endif
00084