ソースを参照

Version 1.0.0

Rind 8 年 前
コミット
1a767af526
3 ファイル変更62 行追加0 行削除
  1. BIN
      Toolchain/libSqlDatabase.so
  2. 58 0
      Toolchain/plugins.qmltypes
  3. 4 0
      Toolchain/qmldir

BIN
Toolchain/libSqlDatabase.so


+ 58 - 0
Toolchain/plugins.qmltypes

@@ -0,0 +1,58 @@
+import QtQuick.tooling 1.2
+
+// This file describes the plugin-supplied types contained in the library.
+// It is used for QML tooling purposes only.
+//
+// This file was auto-generated by:
+// 'qmlplugindump gfa.plugins.qml 1.0 /home/wrk/Qt5.7.0/5.7/gcc_64/qml'
+
+Module {
+    dependencies: ["QtQuick 2.0"]
+    Component {
+        name: "SqlDatabase"
+        prototype: "QObject"
+        exports: ["SqlDatabase 1.0"]
+        exportMetaObjectRevisions: [0]
+        Property { name: "hostName"; type: "string" }
+        Property { name: "databaseName"; type: "string" }
+        Property { name: "userName"; type: "string" }
+        Property { name: "passWord"; type: "string" }
+        Property { name: "driverName"; type: "string" }
+        Property { name: "isOpen"; type: "bool"; isReadonly: true }
+        Method { name: "open"; type: "bool" }
+        Method { name: "close" }
+        Method {
+            name: "query"
+            type: "SqlQuery*"
+            Parameter { name: "sql"; type: "string" }
+        }
+        Method {
+            name: "isDriverAvailable"
+            type: "bool"
+            Parameter { name: "driveName"; type: "string" }
+        }
+    }
+    Component {
+        name: "SqlQuery"
+        prototype: "QObject"
+        exports: ["SqlQuery 1.0"]
+        isCreatable: false
+        exportMetaObjectRevisions: [0]
+        Method { name: "next"; type: "bool" }
+        Method { name: "previous"; type: "bool" }
+        Method {
+            name: "value"
+            type: "QVariant"
+            Parameter { name: "index"; type: "int" }
+        }
+        Method {
+            name: "value"
+            type: "QVariant"
+            Parameter { name: "name"; type: "string" }
+        }
+        Method { name: "isValid"; type: "bool" }
+        Method { name: "isActive"; type: "bool" }
+        Method { name: "size"; type: "int" }
+        Method { name: "close" }
+    }
+}

+ 4 - 0
Toolchain/qmldir

@@ -0,0 +1,4 @@
+module gfa.plugins.qml
+plugin SqlDatabase
+classname SqlDatabase
+typeinfo plugins.qmltypes