summaryrefslogtreecommitdiffabout
path: root/kaddressbook/addresseditwidget.h
Side-by-side diff
Diffstat (limited to 'kaddressbook/addresseditwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/addresseditwidget.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kaddressbook/addresseditwidget.h b/kaddressbook/addresseditwidget.h
index bc96d74..1d4e138 100644
--- a/kaddressbook/addresseditwidget.h
+++ b/kaddressbook/addresseditwidget.h
@@ -20,39 +20,39 @@
with any edition of Qt, and distribute the resulting executable,
without including the source code for Qt in the source distribution.
*/
#ifndef ADDRESSEDITWIDGET_H
#define ADDRESSEDITWIDGET_H
#include <qwidget.h>
#include <kdialogbase.h>
#include <kabc/address.h>
#include <kabc/addressee.h>
#include "addresseeconfig.h"
#include "typecombo.h"
-class QButtonGroup;
+class Q3ButtonGroup;
class QCheckBox;
-class QListView;
+class Q3ListView;
#ifndef KAB_EMBEDDED
-class QTextEdit;
+class Q3TextEdit;
#else //KAB_EMBEDDED
-class QMultiLineEdit;
+class Q3MultiLineEdit;
#endif //KAB_EMBEDDED
class QToolButton;
class KComboBox;
class KLineEdit;
class KListView;
typedef TypeCombo<KABC::Address> AddressTypeCombo;
/**
Editor widget for addresses.
*/
class AddressEditWidget : public QWidget
{
Q_OBJECT
@@ -68,35 +68,35 @@ class AddressEditWidget : public QWidget
KABC::Address currentAddress( KComboBox*, int );
signals:
void modified();
protected slots:
void updateAddressEdit();
void edit();
private:
AddresseeConfig * mConfig;
AddressTypeCombo *mTypeCombo;
QPushButton *mEditButton;
#ifndef KAB_EMBEDDED
- QTextEdit *mAddressTextEdit;
+ Q3TextEdit *mAddressTextEdit;
#else //KAB_EMBEDDED
- QMultiLineEdit *mAddressTextEdit;
+ Q3MultiLineEdit *mAddressTextEdit;
#endif //KAB_EMBEDDED
KABC::Address::List mAddressList;
KABC::Addressee mAddressee;
int mIndex;
};
/**
Dialog for editing address details.
*/
class AddressEditDialog : public KDialogBase
{
Q_OBJECT
public:
AddressEditDialog( const KABC::Address::List &list, int selected,
@@ -107,53 +107,53 @@ class AddressEditDialog : public KDialogBase
bool changed() const;
protected slots:
void addAddress();
void removeAddress();
void changeType();
void updateAddressEdits();
void modified();
private:
void saveAddress( KABC::Address &addr );
void fillCountryCombo();
AddressTypeCombo *mTypeCombo;
#ifndef KAB_EMBEDDED
- QTextEdit *mStreetTextEdit;
+ Q3TextEdit *mStreetTextEdit;
#else //KAB_EMBEDDED
- QMultiLineEdit *mStreetTextEdit;
+ Q3MultiLineEdit *mStreetTextEdit;
#endif //KAB_EMBEDDED
KComboBox *mCountryCombo;
KLineEdit *mRegionEdit;
KLineEdit *mLocalityEdit;
KLineEdit *mPostalCodeEdit;
KLineEdit *mPOBoxEdit;
QCheckBox *mPreferredCheckBox;
QPushButton *mRemoveButton;
QPushButton *mChangeTypeButton;
KABC::Address::List mAddressList;
KABC::Address *mPreviousAddress;
bool mChanged;
};
/**
Dialog for selecting an address type.
*/
class AddressTypeDialog : public KDialogBase
{
public:
AddressTypeDialog( int type, QWidget *parent );
~AddressTypeDialog();
int type() const;
private:
- QButtonGroup *mGroup;
+ Q3ButtonGroup *mGroup;
KABC::Address::TypeList mTypeList;
};
#endif