~noskcaj/ubuntu/saucy/sflphone/merge-1.2.3-2

« back to all changes in this revision

Viewing changes to kde/src/lib/dbus/metatypes.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2012-05-19 21:46:37 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20120519214637-la8rbrford5kj6m3
Tags: 1.1.0-1
* New upstream release 
  - Fixes "FTBFS with libccrtp-dev/2.0.2 from experimental" (Closes: #663282)
* NEW Maintainer: Debian VoIP Team - Thanks Francois for your work.
  - (Closes: #665789: O: sflphone -- SIP and IAX2 compatible VoIP phone)
* Added Build-Depends: libdbus-c++-bin
* Add gcc47-fixes.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef METATYPES_H
2
 
#define METATYPES_H
3
 
 
4
 
#include <QtCore/QMetaType>
5
 
#include <QtCore/QMap>
6
 
#include <QVector>
7
 
#include <QtCore/QString>
8
 
#include <QtDBus/QtDBus>
9
 
 
10
 
typedef QMap<QString, QString> MapStringString;
11
 
typedef QMap<QString, int> MapStringInt;
12
 
typedef QVector<int> VectorInt;
13
 
typedef QVector< QMap<QString, QString> > VectorMapStringString;
14
 
 
15
 
Q_DECLARE_METATYPE(MapStringString)
16
 
Q_DECLARE_METATYPE(MapStringInt)
17
 
Q_DECLARE_METATYPE(VectorMapStringString)
18
 
Q_DECLARE_METATYPE(VectorInt);
19
 
 
20
 
 
21
 
inline void registerCommTypes() {
22
 
        qDBusRegisterMetaType<MapStringString>();
23
 
        qDBusRegisterMetaType<MapStringInt>();
24
 
        qDBusRegisterMetaType<VectorMapStringString>();
25
 
        qDBusRegisterMetaType<VectorInt>();
26
 
}
27
 
 
28
 
#endif
 
 
b'\\ No newline at end of file'