summaryrefslogtreecommitdiffabout
path: root/kaddressbook/kabcore.h
Side-by-side diff
Diffstat (limited to 'kaddressbook/kabcore.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/kabcore.h40
1 files changed, 22 insertions, 18 deletions
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h
index ec6a9ec..4351720 100644
--- a/kaddressbook/kabcore.h
+++ b/kaddressbook/kabcore.h
@@ -28,11 +28,15 @@
#ifndef KAB_EMBEDDED
#endif //KAB_EMBEDDED
-#include <qdict.h>
+#include <q3dict.h>
#include <qtimer.h>
#include <qwidget.h>
-#include <qpopupmenu.h>
+#include <q3popupmenu.h>
+//Added by qt3to4:
+#include <Q3CString>
+#include <QPixmap>
+#include <QResizeEvent>
#include <ksyncmanager.h>
#ifndef DESKTOP_VERSION
#include <qcopchannel_qws.h>
@@ -85,9 +89,9 @@ class KABCore : public QWidget, public KSyncInterface
#ifdef KAB_EMBEDDED
//US added functionality
- QPopupMenu* getViewMenu() {return viewMenu;}
- QPopupMenu* getFilterMenu() {return filterMenu;}
- QPopupMenu* getSettingsMenu() {return settingsMenu;}
+ Q3PopupMenu* getViewMenu() {return viewMenu;}
+ Q3PopupMenu* getFilterMenu() {return filterMenu;}
+ Q3PopupMenu* getSettingsMenu() {return settingsMenu;}
void addActionsManually();
#endif //KAB_EMBEDDED
/**
@@ -135,8 +139,8 @@ class KABCore : public QWidget, public KSyncInterface
#endif //KAB_EMBEDDED
#ifdef KAB_EMBEDDED
- inline QPopupMenu* getImportMenu() { return ImportMenu;}
- inline QPopupMenu* getExportMenu() { return ExportMenu;}
+ inline Q3PopupMenu* getImportMenu() { return ImportMenu;}
+ inline Q3PopupMenu* getExportMenu() { return ExportMenu;}
#endif //KAB_EMBEDDED
public slots:
@@ -366,8 +370,8 @@ class KABCore : public QWidget, public KSyncInterface
private slots:
void updateToolBar();
void updateMainWindow();
- void receive( const QCString& cmsg, const QByteArray& data );
- void receiveStart( const QCString& cmsg, const QByteArray& data );
+ void receive( const Q3CString& cmsg, const QByteArray& data );
+ void receiveStart( const Q3CString& cmsg, const QByteArray& data );
void toggleBeamReceive( );
void disableBR(bool);
void setJumpButtonBarVisible( bool visible );
@@ -394,7 +398,7 @@ class KABCore : public QWidget, public KSyncInterface
void addressBookChanged();
private:
- QCString mCStringMess;
+ Q3CString mCStringMess;
QByteArray mByteData;
QString mEmailSourceChannel;
QString mEmailSourceUID;
@@ -486,14 +490,14 @@ class KABCore : public QWidget, public KSyncInterface
KAction *mActionDeleteView;
- QPopupMenu *viewMenu;
- QPopupMenu *filterMenu;
- QPopupMenu *settingsMenu;
- QPopupMenu *changeMenu;
- QPopupMenu *beamMenu;
+ Q3PopupMenu *viewMenu;
+ Q3PopupMenu *filterMenu;
+ Q3PopupMenu *settingsMenu;
+ Q3PopupMenu *changeMenu;
+ Q3PopupMenu *beamMenu;
//US QAction *mActionSave;
- QPopupMenu *ImportMenu;
- QPopupMenu *ExportMenu;
+ Q3PopupMenu *ImportMenu;
+ Q3PopupMenu *ExportMenu;
//LR additional methods
KAction *mActionRemoveVoice;
KAction *mActionSetFormattedName;
@@ -524,7 +528,7 @@ class KABCore : public QWidget, public KSyncInterface
// LR *******************************
// sync stuff!
QString sentSyncFile();
- QPopupMenu *syncMenu;
+ Q3PopupMenu *syncMenu;
KSyncManager* syncManager;
int mGlobalSyncMode;
bool synchronizeAddressbooks( KABC::AddressBook* local, KABC::AddressBook* remote,int mode);