summaryrefslogtreecommitdiff
path: root/tests/auto/core/ivigenerator/org.example.echo.qtro.qface
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/core/ivigenerator/org.example.echo.qtro.qface')
-rw-r--r--tests/auto/core/ivigenerator/org.example.echo.qtro.qface132
1 files changed, 0 insertions, 132 deletions
diff --git a/tests/auto/core/ivigenerator/org.example.echo.qtro.qface b/tests/auto/core/ivigenerator/org.example.echo.qtro.qface
deleted file mode 100644
index 82f7f82..0000000
--- a/tests/auto/core/ivigenerator/org.example.echo.qtro.qface
+++ /dev/null
@@ -1,132 +0,0 @@
-/**
- * module
- */
-@config: { interfaceBuilder: "echoInterfaceBuilder" }
-module org.example.echo 1.0
-
-/**
- * \brief the brief
- * the description
- * continues \l http://qt.io
- */
-@config: {id: "org.foo.id.1.0", qml_class_name: "UiEcho"}
-interface Echo {
- /**
- * \brief brief message
- *
- * Some more documentation
- */
- readonly string lastMessage;
- int intValue;
- var varValue;
- @config_simulator: {minimum: 10.}
- real floatValue1;
- @config_simulator: {maximum: 10.}
- real floatValue2;
- string stringValue;
- list<Contact> contactList;
- Contact contact;
- WeekDay weekDay;
- real UPPERCASEPROPERTY;
-
- string echo(string msg);
- string id() const;
- Combo getCombo();
- void voidSlot();
- void voidSlot2(int param);
- void timer(int interval);
-
- signal anotherChanged(AnotherStruct another);
- signal foobar(string foo);
- signal somethingHappened();
- signal newValueAvailable(var newValue);
-
- model<Contact> testList;
-}
-
-enum WeekDay {
- Monday = 1,
- Tuesday = 2,
- Wednesday = 3,
- Thursday = 4,
- Friday = 5
-}
-
-/**
- * The contact information
- */
-struct Contact {
- string name;
- int age;
- bool isMarried;
- var additionalData;
-}
-
-struct Combo {
- Contact contactInfo;
- WeekDay day;
-}
-
-struct AnotherStruct {
- int justANumber;
-}
-
-
-
-@config: {id: "org.foo.idz.1.0", zoned: true}
-interface EchoZoned {
-
- /**
- * \brief brief message
- *
- * Some more documentation
- */
- readonly string lastMessage;
- int intValue;
- var varValue;
- @config_simulator: {domain: ["one", "two", "three"]}
- string stringValue;
- string unsupportedValue;
- bool zonedValue;
- bool valueWithDefault;
- @config: { getter_name: "isEchoEnabled" }
- bool echoEnabled;
- AirflowDirection airflowDirection;
- @config_simulator: {minimum: 10., maximum: 15.}
- int rangedValue;
- int rangedValueWithDefault;
- Contact contact;
- Combo combo;
- list<int> intList;
- list<Combo> comboList;
- real UPPERCASEPROPERTY;
-
- string echo(string msg);
- string id();
- var varMethod();
- Combo getCombo();
- string timer(int interval);
-
- signal anotherChanged(AnotherStruct another);
- signal foobar(string foo);
- signal somethingHappened();
- signal newValueAvailable(var newValue);
-}
-
-/**
- * \brief Control where the airflow goes
- */
-flag AirflowDirection {
- /**
- * \brief Airflow to the windshield
- */
- Windshield = 1,
- /**
- * \brief Airflow to the dashboard
- */
- Dashboard = 2,
- /**
- * \brief Airflow to the floor
- */
- Floor = 4
-}