-rwxr-xr-x | libkdepim/ol_access.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libkdepim/ol_access.h b/libkdepim/ol_access.h index 85dbc6c..3422f65 100755 --- a/libkdepim/ol_access.h +++ b/libkdepim/ol_access.h @@ -16,49 +16,49 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. As a special exception, permission is given to link this program with any edition of Qt, and distribute the resulting executable, without including the source code for Qt in the source distribution. */ #ifndef OL_ACCESS_H #define OL_ACCESS_H #include <qstring.h> #include <kdialogbase.h> #include <kabc/addressee.h> #include <kabc/addressbook.h> #include <afxdisp.h> #include "../outport/msoutl9.h" #define OL_CONTACT_DATA 2 #define OL_CALENDAR_DATA 1 //pending is this the right number class QDateTime; -class QListView; +class Q3ListView; class OLEListViewItem; class _ContactItem; class OL_access : public QObject { Q_OBJECT public: static OL_access *instance(); ~OL_access(); //static converter methods static QDateTime mDdate2Qdtr( DATE dt); static DATE Qdt2date( QDateTime dt ); static KABC::Addressee ol2kapiContact( _ContactItem * aItem , bool syncMode); static void writeData2OLitem( KABC::Addressee addressee, _ContactItem * aItem ); KABC::Addressee::List importOLcontacts(); QStringList getFolderSelection( int type, QString caption ); void readContactData( LPDISPATCH folder, KABC::Addressee::List* list, bool syncMode ); LPDISPATCH getFolderFromID( LPDISPATCH parentFolder, QString selectedFolderID ); bool setSelectedFolder( QString folderID ); //call setSelectedFolder() before using the next methods: void deleteAddressee( KABC::Addressee a ); KABC::Addressee changeAddressee( KABC::Addressee a ); KABC::Addressee addAddressee( KABC::Addressee a ); @@ -111,49 +111,49 @@ class KAImportOLdialog : public KDialogBase /** Initialize editor. This function creates the tab widgets. */ void init(); void setSyncMode(); KABC::Addressee::List getAddressList(); QString selectedFolderID() {return mSelectedFolderID;} static KABC::Addressee ol2kapiContact( _ContactItem * , bool syncMode ); static bool sOLDispatch; pub_lic sl_ots: sign_als: prote_cted slo_ts: void slotApply(); void slotOk(); void slotCancel(); protected: void setupFolderView(); void addFolder(OLEListViewItem* iParent, LPDISPATCH dispParent); void readContactData( DWORD folder ); KABC::AddressBook * mABook; - QListView * mListView; + Q3ListView * mListView; KABC::Addressee::List mAList; bool addAddressee( KABC::Addressee a ); private: int importedItems; bool mSyncMode; QString mSelectedFolderID; }; class KAwritebackOL : public QObject { Q__OBJECT public: KAwritebackOL( const QString &olFolderID ); ~KAwritebackOL(); bool init(); void deleteAddressee( KABC::Addressee a ); KABC::Addressee changeAddressee( KABC::Addressee a ); KABC::Addressee addAddressee( KABC::Addressee a ); public sl_ots: signals: protected sl_ots: |