[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenetwork/kopete/kopete
From: Jason Keirstead <jason () keirstead ! org>
Date: 2005-04-05 13:34:34
Message-ID: 20050405133434.F104E63E () office ! kde ! org
[Download RAW message or body]
CVS commit by brunes:
Add simple DCOP interface for changing your account nickname
BUG:103143
M +7 -0 kopeteiface.cpp 1.45
M +5 -0 kopeteiface.h 1.24
--- kdenetwork/kopete/kopete/kopeteiface.cpp #1.44:1.45
@@ -227,4 +227,11 @@ void KopeteIface::disconnect(const QStri
}
+void KopeteIface::setNickName( const QString &protocolId, const QString &accountId, \
const QString &newDisplayName ) +{
+ Kopete::Account *a = Kopete::AccountManager::self()->findAccount( \
protocolId, accountId ); + if( a )
+ a->myself()->setDisplayName( newDisplayName );
+}
+
void KopeteIface::connectAll()
{
--- kdenetwork/kopete/kopete/kopeteiface.h #1.23:1.24
@@ -136,4 +136,9 @@ k_dcop:
void setAutoAway();
+ /**
+ * Sets the nickname for the provided account
+ */
+ void setNickName( const QString &protocolId, const QString &accountId, const \
QString &newDisplayName ); +
};
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic