File: usertypes.rep

package info (click to toggle)
qtremoteobjects-everywhere-src 5.15.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,376 kB
  • sloc: cpp: 23,647; ansic: 39; makefile: 24; sh: 6
file content (33 lines) | stat: -rw-r--r-- 568 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include <QtCore>

class SimpleClock
{
    PROP(int hour=6);
    PROP(int minute=30);
    SIGNAL(timeUpdated(int hour, int minute, int second=0, int millisecond=0));
};

class TypeWithModel
{
    MODEL tracks(display);
};

class TypeWithSubObject
{
    CLASS clock(SimpleClock);
};

class ComplexType
{
    PROP(int before = 0)
    MODEL tracks(display)
    CLASS clock(SimpleClock)
    PROP(int after = 42)
}

class TypeWithReply
{
    SLOT(QString uppercase(const QString &input))
    SLOT(QMap<QString, QString> complexReturnType())
    SLOT(int slowFunction())
};