-rw-r--r-- | kabc/phonenumber.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kabc/phonenumber.h b/kabc/phonenumber.h index 1df344f..410a52f 100644 --- a/kabc/phonenumber.h +++ b/kabc/phonenumber.h | |||
@@ -135,32 +135,34 @@ class PhoneNumber | |||
135 | 135 | ||
136 | /** | 136 | /** |
137 | Returns a list of all available types | 137 | Returns a list of all available types |
138 | */ | 138 | */ |
139 | static TypeList typeList(); | 139 | static TypeList typeList(); |
140 | 140 | ||
141 | /** | 141 | /** |
142 | Returns the translated label for phone number type. | 142 | Returns the translated label for phone number type. |
143 | */ | 143 | */ |
144 | static QString typeLabel( int type ); | 144 | static QString typeLabel( int type ); |
145 | 145 | ||
146 | /** | 146 | /** |
147 | Returns the translated label for phone number type. | 147 | Returns the translated label for phone number type. |
148 | @obsolete | 148 | @obsolete |
149 | */ | 149 | */ |
150 | static QString label( int type ); | 150 | static QString label( int type ); |
151 | bool simplifyNumber(); | ||
152 | void simplifyType(); | ||
151 | 153 | ||
152 | private: | 154 | private: |
153 | void init(); | 155 | void init(); |
154 | 156 | ||
155 | QString mId; | 157 | QString mId; |
156 | 158 | ||
157 | int mType; | 159 | int mType; |
158 | QString mNumber; | 160 | QString mNumber; |
159 | }; | 161 | }; |
160 | 162 | ||
161 | QDataStream &operator<<( QDataStream &, const PhoneNumber & ); | 163 | QDataStream &operator<<( QDataStream &, const PhoneNumber & ); |
162 | QDataStream &operator>>( QDataStream &, PhoneNumber & ); | 164 | QDataStream &operator>>( QDataStream &, PhoneNumber & ); |
163 | 165 | ||
164 | } | 166 | } |
165 | 167 | ||
166 | #endif | 168 | #endif |