← Back to team overview

ayatana-commits team mailing list archive

[Branch ~agateau/libindicate-qt/trunk] Rev 108: Mark getIndicatorProperty deprecated

 

------------------------------------------------------------
revno: 108
committer: Aurelien Gateau <aurelien.gateau@xxxxxxxxxxxxx>
branch nick: libindicate-qt
timestamp: Mon 2010-02-15 18:48:20 +0100
message:
  Mark getIndicatorProperty deprecated
modified:
  src/qindicatelistener.h


--
lp:libindicate-qt
https://code.launchpad.net/~agateau/libindicate-qt/trunk

Your team ayatana-commits is subscribed to branch lp:libindicate-qt.
To unsubscribe from this branch go to https://code.launchpad.net/~agateau/libindicate-qt/trunk/+edit-subscription.
=== modified file 'src/qindicatelistener.h'
--- src/qindicatelistener.h	2010-02-15 17:46:17 +0000
+++ src/qindicatelistener.h	2010-02-15 17:48:20 +0000
@@ -60,6 +60,9 @@
      *   QIndicate::Listener::Indicator*,
      *   const QString& key,
      *   const QByteArray& value
+     *
+     *   @deprecated: this method will fail with int or bool properties.
+     *   Use getIndicatorPropertyAsVariant instead.
      */
     void getIndicatorProperty(QIndicate::Listener::Server* server, QIndicate::Listener::Indicator* indicator,
                               const QString& property,