summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/contacteditor.h
Side-by-side diff
Diffstat (limited to 'core/pim/addressbook/contacteditor.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/contacteditor.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/pim/addressbook/contacteditor.h b/core/pim/addressbook/contacteditor.h
index 95f9f2d..703e702 100644
--- a/core/pim/addressbook/contacteditor.h
+++ b/core/pim/addressbook/contacteditor.h
@@ -31,2 +31,3 @@
#include <qstringlist.h>
+#include <qwidgetstack.h>
@@ -108,2 +109,3 @@ class ContactEditor : public QDialog {
private:
+ enum StackWidgets { TextField = 1, Combo };
int defaultEmailChooserPosition;
@@ -111,3 +113,3 @@ class ContactEditor : public QDialog {
void chooserChange( const QString&, int , QLineEdit*, int );
- bool cmbChooserChange( int , QLineEdit*, int );
+ bool cmbChooserChange( int , QWidgetStack*, int );
OContactFields contactfields;
@@ -156,2 +158,6 @@ class ContactEditor : public QDialog {
QLineEdit *txtChooserField4;
+ QWidgetStack* m_widgetStack1;
+ QWidgetStack* m_widgetStack2;
+ QWidgetStack* m_widgetStack3;
+ QWidgetStack* m_widgetStack4;
QComboBox *cmbChooserField1;