[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kopete/libkopete
From: Grzegorz Jaskiewicz <gj () pointblue ! com ! pl>
Date: 2003-07-06 15:13:02
[Download RAW message or body]
CVS commit by gj:
Adding virtual QString fullAccountName() const; method to kopeteAccount class.
This will, among probably other use - will be used as status icon tooltip text.
It _DOESN'T_ break the API. By default (if not implemented) it returns accountId();
M +4 -0 kopeteaccount.cpp 1.31
M +9 -0 kopeteaccount.h 1.25
--- kdenonbeta/kopete/libkopete/kopeteaccount.cpp #1.30:1.31
@@ -120,4 +120,8 @@ void KopeteAccount::setColor( const QCol
}
+QString KopeteAccount::fullAccountName() const
+{
+ return accountId();
+}
void KopeteAccount::setAccountId( const QString &accountId )
--- kdenonbeta/kopete/libkopete/kopeteaccount.h #1.24:1.25
@@ -77,4 +77,5 @@ public:
*/
KopeteProtocol *protocol() const ;
+
/**
* return the unique id of this account used as the login
@@ -82,4 +83,12 @@ public:
QString accountId() const;
+
+ /**
+ * Return the full account name, fe. nick(UID).
+ * By default returns id returned by @ref accountId()
+ */
+
+ virtual QString fullAccountName() const;
+
/**
* The account ID should be constant, don't use this method.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic