author | zautrix <zautrix> | 2004-08-06 16:59:46 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-06 16:59:46 (UTC) |
commit | b41f6fbe8e52f0b063ded2eebadfc885aa93ae73 (patch) (side-by-side diff) | |
tree | cfe689cc48c176486c53e1147229993524a8b935 /libkdepim/addresseeview.cpp | |
parent | 02963edb373e263bd50ab431633ea66adf32a4aa (diff) | |
download | kdepimpi-b41f6fbe8e52f0b063ded2eebadfc885aa93ae73.zip kdepimpi-b41f6fbe8e52f0b063ded2eebadfc885aa93ae73.tar.gz kdepimpi-b41f6fbe8e52f0b063ded2eebadfc885aa93ae73.tar.bz2 |
mail name fix
-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 ) |