summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/addressbook.cpp18
-rw-r--r--core/pim/addressbook/addressbook.h4
2 files changed, 19 insertions, 3 deletions
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp
index 86d1760..e11cf4c 100644
--- a/core/pim/addressbook/addressbook.cpp
+++ b/core/pim/addressbook/addressbook.cpp
@@ -139,2 +139,16 @@ AddressbookWindow::AddressbookWindow( QWidget *parent, const char *name,
+
+ // make it possible to go directly to businesscard via qcop call
+#if defined(Q_WS_QWS)
+#if !defined(QT_NO_COP)
+ QCopChannel *addressChannel = new QCopChannel("QPE/Addressbook" , this );
+ connect (addressChannel, SIGNAL( received(const QCString &, const QByteArray &)),
+ this, SLOT ( appMessage(const QCString &, const QByteArray &) ) );
+#endif
+#endif
+
+
+
+
+
#ifndef MAKE_FOR_SHARP_ROM
@@ -252,2 +266,4 @@ AddressbookWindow::AddressbookWindow( QWidget *parent, const char *name,
}
+
+
void AddressbookWindow::slotSetFont( int size ) {
@@ -295,3 +311,3 @@ void AddressbookWindow::importvCard() {
setDocument((const QString&) str );
-
+
}
diff --git a/core/pim/addressbook/addressbook.h b/core/pim/addressbook/addressbook.h
index da43731..34ca85d 100644
--- a/core/pim/addressbook/addressbook.h
+++ b/core/pim/addressbook/addressbook.h
@@ -61,3 +61,3 @@ public slots:
private slots:
- void importvCard();
+ void importvCard();
void slotListNew();
@@ -96,3 +96,3 @@ private:
- QAction *actionNew, *actionEdit, *actionTrash, *actionFind, *actionBeam,
+ QAction *actionNew, *actionEdit, *actionTrash, *actionFind, *actionBeam,
*actionPersonal, *actionMail;