author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (side-by-side diff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /kaddressbook/addresseditwidget.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
Diffstat (limited to 'kaddressbook/addresseditwidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | kaddressbook/addresseditwidget.h | 18 |
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 |