~ubuntu-branches/ubuntu/vivid/quassel/vivid-updates

« back to all changes in this revision

Viewing changes to src/client/clientcoreinfo.h

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman
  • Date: 2013-03-06 15:07:41 UTC
  • mfrom: (1.1.49)
  • Revision ID: package-import@ubuntu.com-20130306150741-pys1igw1g8uhja38
Tags: 0.9~beta1-0ubuntu1
* New upstream beta release
  - Remove debian/patches/0001-Support-intermediate-CA-certificates.patch,
    incorporated upstream
  - Remove 0002-Allow-the-core-to-use-expired-certificates.patch,
    incorporated upstream
  - Update kubuntu_02_enable_message_indicator.diff for 0.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/***************************************************************************
2
 
 *   Copyright (C) 2005-09 by the Quassel Project                          *
 
2
 *   Copyright (C) 2005-2013 by the Quassel Project                        *
3
3
 *   devel@quassel-irc.org                                                 *
4
4
 *                                                                         *
5
5
 *   This program is free software; you can redistribute it and/or modify  *
15
15
 *   You should have received a copy of the GNU General Public License     *
16
16
 *   along with this program; if not, write to the                         *
17
17
 *   Free Software Foundation, Inc.,                                       *
18
 
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 
18
 *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.         *
19
19
 ***************************************************************************/
20
20
 
21
21
#ifndef CLIENTCOREINFO_H
26
26
/*
27
27
 * Yes this name is somewhat stupid... but it fits the general naming scheme
28
28
 * which is prefixing client specific sync objects with "Client"... ;)
29
 
 */ 
30
 
class ClientCoreInfo : public CoreInfo {
31
 
  Q_OBJECT
32
 
  SYNCABLE_OBJECT
 
29
 */
 
30
class ClientCoreInfo : public CoreInfo
 
31
{
 
32
    Q_OBJECT
 
33
        SYNCABLE_OBJECT
33
34
 
34
35
public:
35
 
  ClientCoreInfo(QObject *parent = 0) : CoreInfo(parent) {}
36
 
 
37
 
  inline virtual const QMetaObject *syncMetaObject() const { return &CoreInfo::staticMetaObject; }
38
 
 
39
 
  inline QVariant &operator[](const QString &key) { return _coreData[key]; }
 
36
    ClientCoreInfo(QObject *parent = 0) : CoreInfo(parent) {}
 
37
 
 
38
    inline virtual const QMetaObject *syncMetaObject() const { return &CoreInfo::staticMetaObject; }
 
39
 
 
40
    inline QVariant &operator[](const QString &key) { return _coreData[key]; }
40
41
 
41
42
public slots:
42
 
  inline virtual void setCoreData(const QVariantMap &data) { _coreData = data; }
 
43
    inline virtual void setCoreData(const QVariantMap &data) { _coreData = data; }
43
44
 
44
45
private:
45
 
  QVariantMap _coreData;
 
46
    QVariantMap _coreData;
46
47
};
47
48
 
 
49
 
48
50
#endif //CLIENTCOREINFO_H