15 Commits

Author SHA1 Message Date
Katja Marttila
e67fd518cb Revert "Use QQmlV4Function to correctly get empty parameters from script."
This reverts commit eb574d77b0ab9a92b61e7738d089cd4ea4304e51.
The change will not work with Qt5.5 as it is causing constant
crashes in Qt installers. Using this change will require a fix
for Qt5. As we are about to make Qt installers based on 2.0 we
need to revert this change for now.

Change-Id: Ia7906d02db645f2407ab07d14f5a037224574b29
Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
2016-02-17 11:20:56 +00:00
Iikka Eklund
6ba58b42ab Update license headers
Update existing license headers. LGPL -> LGPLv21.
Update copyright year as well.

Change-Id: Ie1d71f8c68186b8f625f409ddf94691f178093c9
Reviewed-by: Katja Marttila <katja.marttila@theqtcompany.com>
Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
2015-12-29 07:31:11 +00:00
Karsten Heimrich
eb574d77b0 Use QQmlV4Function to correctly get empty parameters from script.
By using QQmlV4Function to get the parameters, empty strings passed
are correctly kept as empty and not null.

Task-number: QTIFW-724
Change-Id: I592e2230e574ba82e765bd0079964db29452b2e9
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
2015-11-26 07:04:11 +00:00
Kai Koehne
3557b1650c Doc: Clarify use of addOperation
Make it explicit that addOperation , addElevatedOperation should be
usually called from within createOperations().

Change-Id: Id14339b1259716825a9443cc563449025674976f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-05-29 12:16:21 +00:00
Karsten Heimrich
a050b55190 Fix missing details output in example.
Commit 17e29fc8d3 introduced a behavior change, the
installer.components is no longer a array property,
it is now a function returning an array. Update docs.

Change-Id: I4fcdee6cff4572012236e1ac0768013a1e5689ac
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-05-27 14:27:11 +00:00
Karsten Heimrich
9859f2f74d Remove leftover. (signal and documentation)
Change-Id: Ib735d8e7103ade0a9c31fa3d710542cafae3c8f2
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-05-26 10:19:05 +00:00
Leena Miettinen
6cbe1e880d Doc: add docs for PackageManagerCore
Move the scripting API documentation to a separate
qdoc file. Where possible (no QDoc errors are generated),
only link from the C++ API documentation to the scripting
API documentation.

Change-Id: I969e9afc5cd45c495e6c517b825abb9a9aabdd82
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
2015-05-26 09:43:07 +00:00
Leena Miettinen
e77604b187 Doc: link from C++ API ref to scripting API ref
Remove duplicated text where possible, and unify the
text if it is needed in both files (by QDoc).

Change-Id: If0c62a4a4abf6c1f61fd24f7947b9bc9bfb14f63
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
2015-05-08 09:22:46 +00:00
Leena Miettinen
ea9dd10e54 Doc: add link to controller scripting topic
Change-Id: I929ced36d59f52621785e44c7d93fd24f237d590
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
2015-05-08 09:22:35 +00:00
Leena Miettinen
c50057901b Doc: component.virtualStateChanged() signal
Docs were missing from the scripting API docs.

Change-Id: I941e387c4226fae2a4640605299d925b3101bf46
Task-number: QTIFW-655
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
2015-04-13 15:23:20 +00:00
Jarek Kobus
893a36dd26 "Selected" property has gone.
Please see 5f6afc7d268dd16dd3f28d3579ae9517954a6553

Change-Id: I02a026c19d768b4d9c0c9f179d5738a121f46e99
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-04-10 11:31:35 +00:00
Leena Miettinen
b6f3057680 Doc: move component scripting docs to a separate file
Reformat the docs in the C++ file as C++ documentation.
Fix language and style issues.

Change-Id: Ifc2ac0a99700d8b2a2ca6835927cdfb0abd7ed2e
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-03-09 12:31:43 +00:00
Leena Miettinen
b13d307acd Doc: add docs for print JavaScript object
Change-Id: I84d9987f3f6bfe6bf6788c89d4f5ab43c29655d5
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
2015-03-09 10:19:59 +00:00
Leena Miettinen
aa87f9c4b1 Doc: add docs for the gui JavaScript object
Text was copied from packagemanagergui.cpp.

Change-Id: Idca8ce779bd5a3dbf5b3e7e4eca085c82973447e
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-03-06 09:53:56 +00:00
Leena Miettinen
f160b711fe Doc: move ScriptEngine scripting docs to separate files
Change-Id: Iac1c810cf52fb4a480ebde956d62830af97b6f8c
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-03-06 08:32:02 +00:00