summaryrefslogtreecommitdiffstats
path: root/doc/html/qaxcontainer-example-qutlook.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qaxcontainer-example-qutlook.html')
-rw-r--r--doc/html/qaxcontainer-example-qutlook.html30
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/html/qaxcontainer-example-qutlook.html b/doc/html/qaxcontainer-example-qutlook.html
index 899f6196..c2860062 100644
--- a/doc/html/qaxcontainer-example-qutlook.html
+++ b/doc/html/qaxcontainer-example-qutlook.html
@@ -144,9 +144,9 @@ to the signals provided by the "Items" COM object. Finally, it calls the
<pre> // Get all items
if ( defFolder ) {
contactItems = defFolder-&gt;<a href="qaxbase.html#querySubObject">querySubObject</a>( "Items" );
- <a href="ntqobject.html#connect">connect</a>( contactItems, TQ_SIGNAL(ItemAdd(IDispatch*)), this, TQ_SLOT(updateOutlook()) );
- <a href="ntqobject.html#connect">connect</a>( contactItems, TQ_SIGNAL(ItemChange(IDispatch*)), this, TQ_SLOT(updateOutlook()) );
- <a href="ntqobject.html#connect">connect</a>( contactItems, TQ_SIGNAL(ItemRemove()), this, TQ_SLOT(updateOutlook()) );
+ <a href="tqobject.html#connect">connect</a>( contactItems, TQ_SIGNAL(ItemAdd(IDispatch*)), this, TQ_SLOT(updateOutlook()) );
+ <a href="tqobject.html#connect">connect</a>( contactItems, TQ_SIGNAL(ItemChange(IDispatch*)), this, TQ_SLOT(updateOutlook()) );
+ <a href="tqobject.html#connect">connect</a>( contactItems, TQ_SIGNAL(ItemRemove()), this, TQ_SLOT(updateOutlook()) );
}
updateOutlook();
@@ -166,10 +166,10 @@ entries, so the item has to be removed from its parent object.
<a href="qaxobject.html">TQAxObject</a> *item = contactItems-&gt;querySubObject( "GetFirst()" );
while ( item ) {
- <a name="x2729"></a> <a href="ntqstring.html">TQString</a> firstName = item-&gt;<a href="ntqobject.html#property">property</a>( "FirstName" ).toString();
- <a href="ntqstring.html">TQString</a> lastName = item-&gt;<a href="ntqobject.html#property">property</a>( "LastName" ).toString();
- <a href="ntqstring.html">TQString</a> address = item-&gt;<a href="ntqobject.html#property">property</a>( "HomeAddress" ).toString();
- <a href="ntqstring.html">TQString</a> email = item-&gt;<a href="ntqobject.html#property">property</a>( "Email1Address" ).toString();
+ <a name="x2729"></a> <a href="ntqstring.html">TQString</a> firstName = item-&gt;<a href="tqobject.html#property">property</a>( "FirstName" ).toString();
+ <a href="ntqstring.html">TQString</a> lastName = item-&gt;<a href="tqobject.html#property">property</a>( "LastName" ).toString();
+ <a href="ntqstring.html">TQString</a> address = item-&gt;<a href="tqobject.html#property">property</a>( "HomeAddress" ).toString();
+ <a href="ntqstring.html">TQString</a> email = item-&gt;<a href="tqobject.html#property">property</a>( "Email1Address" ).toString();
(void)new ABListViewItem( listView, firstName, lastName, address, email, item );
// the listviewitem takes ownership
@@ -188,10 +188,10 @@ succeeds.
!iAddress-&gt;<a href="ntqlineedit.html#text">text</a>().isEmpty() || !iEMail-&gt;<a href="ntqlineedit.html#text">text</a>().isEmpty() ) {
<a href="qaxobject.html">TQAxObject</a> *contactItem = outlook-&gt;<a href="qaxbase.html#querySubObject">querySubObject</a>( "CreateItem(OlItemType)", "olContactItem" );
if ( contactItem ) {
- <a name="x2730"></a> contactItem-&gt;<a href="ntqobject.html#setProperty">setProperty</a>( "FirstName", iFirstName-&gt;<a href="ntqlineedit.html#text">text</a>() );
- contactItem-&gt;<a href="ntqobject.html#setProperty">setProperty</a>( "LastName", iLastName-&gt;<a href="ntqlineedit.html#text">text</a>() );
- contactItem-&gt;<a href="ntqobject.html#setProperty">setProperty</a>( "HomeAddress", iAddress-&gt;<a href="ntqlineedit.html#text">text</a>() );
- contactItem-&gt;<a href="ntqobject.html#setProperty">setProperty</a>( "Email1Address", iEMail-&gt;<a href="ntqlineedit.html#text">text</a>() );
+ <a name="x2730"></a> contactItem-&gt;<a href="tqobject.html#setProperty">setProperty</a>( "FirstName", iFirstName-&gt;<a href="ntqlineedit.html#text">text</a>() );
+ contactItem-&gt;<a href="tqobject.html#setProperty">setProperty</a>( "LastName", iLastName-&gt;<a href="ntqlineedit.html#text">text</a>() );
+ contactItem-&gt;<a href="tqobject.html#setProperty">setProperty</a>( "HomeAddress", iAddress-&gt;<a href="ntqlineedit.html#text">text</a>() );
+ contactItem-&gt;<a href="tqobject.html#setProperty">setProperty</a>( "Email1Address", iEMail-&gt;<a href="ntqlineedit.html#text">text</a>() );
<a name="x2720"></a> contactItem-&gt;<a href="qaxbase.html#dynamicCall">dynamicCall</a>( "Save()" );
new ABListViewItem( listView, iFirstName-&gt;<a href="ntqlineedit.html#text">text</a>(),
@@ -216,10 +216,10 @@ listview item as well as the values of the listview item itself.
!iAddress-&gt;<a href="ntqlineedit.html#text">text</a>().isEmpty() || !iEMail-&gt;<a href="ntqlineedit.html#text">text</a>().isEmpty() ) ) {
<a href="qaxobject.html">TQAxObject</a> *contactItem = item-&gt;contactItem();
- contactItem-&gt;<a href="ntqobject.html#setProperty">setProperty</a>( "FirstName", iFirstName-&gt;<a href="ntqlineedit.html#text">text</a>() );
- contactItem-&gt;<a href="ntqobject.html#setProperty">setProperty</a>( "LastName", iLastName-&gt;<a href="ntqlineedit.html#text">text</a>() );
- contactItem-&gt;<a href="ntqobject.html#setProperty">setProperty</a>( "HomeAddress", iAddress-&gt;<a href="ntqlineedit.html#text">text</a>() );
- contactItem-&gt;<a href="ntqobject.html#setProperty">setProperty</a>( "Email1Address", iEMail-&gt;<a href="ntqlineedit.html#text">text</a>() );
+ contactItem-&gt;<a href="tqobject.html#setProperty">setProperty</a>( "FirstName", iFirstName-&gt;<a href="ntqlineedit.html#text">text</a>() );
+ contactItem-&gt;<a href="tqobject.html#setProperty">setProperty</a>( "LastName", iLastName-&gt;<a href="ntqlineedit.html#text">text</a>() );
+ contactItem-&gt;<a href="tqobject.html#setProperty">setProperty</a>( "HomeAddress", iAddress-&gt;<a href="ntqlineedit.html#text">text</a>() );
+ contactItem-&gt;<a href="tqobject.html#setProperty">setProperty</a>( "Email1Address", iEMail-&gt;<a href="ntqlineedit.html#text">text</a>() );
contactItem-&gt;<a href="qaxbase.html#dynamicCall">dynamicCall</a>( "Save()" );
<a name="x2728"></a> item-&gt;<a href="qlistviewitem.html#setText">setText</a>( 0, iFirstName-&gt;<a href="ntqlineedit.html#text">text</a>() );