FactDev
0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
checkphone.h
1
#ifndef CHECKPHONE_H
2
#define CHECKPHONE_H
3
4
#include "checkuntilfield.h"
5
6
namespace
Gui {
7
namespace
Widgets {
8
namespace
CheckFields {
12
class
CheckPhone
:
public
CheckUntilField
13
{
14
public
:
19
CheckPhone
(QWidget* w = 0, QPushButton* btn=0);
20
27
bool
check
(QString text);
28
33
QString
getCountry
()
const
;
38
void
setCountry
(
const
QString &country);
39
40
private
:
41
QString _country;
42
};
43
}
44
}
45
}
46
47
#endif // CHECKPHONE_H
Gui::Widgets::CheckFields::CheckPhone::CheckPhone
CheckPhone(QWidget *w=0, QPushButton *btn=0)
CheckPhone::CheckPhone Construct a CheckPhone.
Definition:
checkphone.cpp:9
Gui::Widgets::CheckFields::CheckPhone::getCountry
QString getCountry() const
CheckPhone::getCountry Return the country linked to current field.
Definition:
checkphone.cpp:41
Gui::Widgets::CheckFields::CheckPhone::setCountry
void setCountry(const QString &country)
CheckPhone::setCountry Modify the country linked to field.
Definition:
checkphone.cpp:46
Gui::Widgets::CheckFields::CheckUntilField
The CheckUntilField class.
Definition:
checkuntilfield.h:12
Gui::Widgets::CheckFields::CheckPhone::check
bool check(QString text)
CheckPhone::check Check if the field is valid. To be valid, a name should be composed of a character...
Definition:
checkphone.cpp:13
Gui::Widgets::CheckFields::CheckPhone
The CheckPhone class Line Edit of Phone number with a check icon.
Definition:
checkphone.h:12
travis
build
FACT-Team
FactDev
src
gui
widgets
checkfields
checkphone.h
Generated on Sun Oct 11 2015 15:51:54 for FactDev by
1.8.6