diff -r 000000000000 -r d760517a8095 uidesigner/com.nokia.sdt.series60.componentlibrary/components/transient/SingleLineDataQuery.inc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uidesigner/com.nokia.sdt.series60.componentlibrary/components/transient/SingleLineDataQuery.inc Tue Mar 24 22:20:21 2009 -0500
@@ -0,0 +1,74 @@
+
+include("popupDialogLibrary.js");
+${jsObject}.prototype.getStrings = function(instance) {
+ this.dialogClassName = getChildAttribute(instance, 0, "dataquery-className");
+ this.methodType = getChildAttribute(instance, 0, "data-model-cpp-type");
+}
+
+
+
+this.getStrings(instance);
+
+
+
+
+
+
+
+
+ }
+<% // EFixedPointLayout case added because CAknFixedPointQueryDialog::NewL does not have default argument
+if ((properties.tone != "ENoTone") || (properties.type == "EFixedPointLayout")) { %>
+${this.dialogClassName}* queryDialog = ${this.dialogClassName}::NewL(
+ aData,
+ CAknQueryDialog::${properties.tone} );
+<% } else { %>
+${this.dialogClassName}* queryDialog = ${this.dialogClassName}::NewL( aData );
+<% } %>
+if ( aOverridePrompt != NULL )
+ {
+ CleanupStack::PushL( queryDialog );
+ queryDialog->SetPromptL( *aOverridePrompt );
+ CleanupStack::Pop(); // queryDialog
+ }
+
+return queryDialog->ExecuteLD( ${resourceName$upper} );
+]]>
+
+
+]]>
+
+
+ if (Engine.formMatches(form, [""]))
+ contribs.addAll(Engine.generateChildContributions("AknDataQuery"))
+
+