-rw-r--r-- | libkdepim/addresseeview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libkdepim/addresseeview.cpp b/libkdepim/addresseeview.cpp index aa9b7f3..547441c 100644 --- a/libkdepim/addresseeview.cpp +++ b/libkdepim/addresseeview.cpp @@ -45,49 +45,49 @@ static int kphoneInstalled = 0; using namespace KPIM; AddresseeView::AddresseeView( QWidget *parent, const char *name ) //US : KTextBrowser( parent, name ) : QTextBrowser( parent, name ) { //US setWrapPolicy( QTextEdit::AtWordBoundary ); setLinkUnderline( false ); // setVScrollBarMode( QScrollView::AlwaysOff ); //setHScrollBarMode( QScrollView::AlwaysOff ); //US QStyleSheet *sheet = styleSheet(); //US QStyleSheetItem *link = sheet->item( "a" ); //US link->setColor( KGlobalSettings::linkColor() ); } void AddresseeView::setSource(const QString& n) { qDebug("********AddresseeView::setSource %s", n.latin1()); #ifndef DESKTOP_VERSION if ( n.left( 6 ) == "mailto" ) { - QCopEnvelope e("QPE/Application/kmpi", "newMail(QString)"); + QCopEnvelope e("QPE/Application/ompi", "newMail(QString)"); e << n.mid(7); } if ( n.left( 7 ) == "phoneto" ) { QString mess = "-ring:" + n.mid(8); QCopEnvelope e("QPE/Application/kppi", mess.latin1()); } #endif } void AddresseeView::setAddressee( const KABC::Addressee& addr ) { bool kphoneAvail = false; #ifndef DESKTOP_VERSION if ( ! kphoneInstalled ) { if ( QFile::exists( QPEApplication::qpeDir() + "/bin/kppi" ) ) kphoneInstalled = 1; else kphoneInstalled = -1; } if ( kphoneInstalled > 0 ) kphoneAvail = true; #if 0 if ( kphoneAvail ) |