summaryrefslogtreecommitdiffstats
path: root/doc/html/addressbook-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/addressbook-example.html')
-rw-r--r--doc/html/addressbook-example.html148
1 files changed, 74 insertions, 74 deletions
diff --git a/doc/html/addressbook-example.html b/doc/html/addressbook-example.html
index 0c6181e81..7d2b9a9dd 100644
--- a/doc/html/addressbook-example.html
+++ b/doc/html/addressbook-example.html
@@ -256,10 +256,10 @@ protected:
<a href="qgridlayout.html">TQGridLayout</a> *mainGrid;
<a href="ntqtabwidget.html">TQTabWidget</a> *tabWidget;
<a href="ntqlistview.html">TQListView</a> *listView;
- <a href="ntqpushbutton.html">TQPushButton</a> *add, *change, *find;
- <a href="ntqlineedit.html">TQLineEdit</a> *iFirstName, *iLastName, *iAddress, *iEMail,
+ <a href="tqpushbutton.html">TQPushButton</a> *add, *change, *find;
+ <a href="tqlineedit.html">TQLineEdit</a> *iFirstName, *iLastName, *iAddress, *iEMail,
*sFirstName, *sLastName, *sAddress, *sEMail;
- <a href="ntqcheckbox.html">TQCheckBox</a> *cFirstName, *cLastName, *cAddress, *cEMail;
+ <a href="tqcheckbox.html">TQCheckBox</a> *cFirstName, *cLastName, *cAddress, *cEMail;
};
@@ -285,10 +285,10 @@ protected:
#include &lt;<a href="qlayout-h.html">ntqlayout.h</a>&gt;
#include &lt;<a href="tqwidget-h.html">tqwidget.h</a>&gt;
#include &lt;<a href="tqlabel-h.html">tqlabel.h</a>&gt;
-#include &lt;<a href="qpushbutton-h.html">ntqpushbutton.h</a>&gt;
-#include &lt;<a href="qlineedit-h.html">ntqlineedit.h</a>&gt;
+#include &lt;<a href="tqpushbutton-h.html">tqpushbutton.h</a>&gt;
+#include &lt;<a href="tqlineedit-h.html">tqlineedit.h</a>&gt;
#include &lt;<a href="tqlabel-h.html">tqlabel.h</a>&gt;
-#include &lt;<a href="qcheckbox-h.html">ntqcheckbox.h</a>&gt;
+#include &lt;<a href="tqcheckbox-h.html">tqcheckbox.h</a>&gt;
#include &lt;<a href="tqfile-h.html">tqfile.h</a>&gt;
#include &lt;<a href="tqtextstream-h.html">tqtextstream.h</a>&gt;
@@ -368,32 +368,32 @@ void <a name="f277"></a>ABCentralWidget::setupTabWidget()
liEMail-&gt;<a href="tqwidget.html#resize">resize</a>( liEMail-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>() );
grid1-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( liEMail, 0, 3 );
- add = new <a href="ntqpushbutton.html">TQPushButton</a>( "A&amp;dd", input );
+ add = new <a href="tqpushbutton.html">TQPushButton</a>( "A&amp;dd", input );
<a name="x599"></a><a name="x598"></a> add-&gt;<a href="tqwidget.html#resize">resize</a>( add-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>() );
grid1-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( add, 0, 4 );
<a href="tqobject.html#connect">connect</a>( add, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( addEntry() ) );
- iFirstName = new <a href="ntqlineedit.html">TQLineEdit</a>( input );
-<a name="x583"></a> iFirstName-&gt;<a href="tqwidget.html#resize">resize</a>( iFirstName-&gt;<a href="ntqlineedit.html#sizeHint">sizeHint</a>() );
+ iFirstName = new <a href="tqlineedit.html">TQLineEdit</a>( input );
+<a name="x583"></a> iFirstName-&gt;<a href="tqwidget.html#resize">resize</a>( iFirstName-&gt;<a href="tqlineedit.html#sizeHint">sizeHint</a>() );
grid1-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( iFirstName, 1, 0 );
<a name="x580"></a> liFirstName-&gt;<a href="tqlabel.html#setBuddy">setBuddy</a>( iFirstName );
- iLastName = new <a href="ntqlineedit.html">TQLineEdit</a>( input );
- iLastName-&gt;<a href="tqwidget.html#resize">resize</a>( iLastName-&gt;<a href="ntqlineedit.html#sizeHint">sizeHint</a>() );
+ iLastName = new <a href="tqlineedit.html">TQLineEdit</a>( input );
+ iLastName-&gt;<a href="tqwidget.html#resize">resize</a>( iLastName-&gt;<a href="tqlineedit.html#sizeHint">sizeHint</a>() );
grid1-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( iLastName, 1, 1 );
liLastName-&gt;<a href="tqlabel.html#setBuddy">setBuddy</a>( iLastName );
- iAddress = new <a href="ntqlineedit.html">TQLineEdit</a>( input );
- iAddress-&gt;<a href="tqwidget.html#resize">resize</a>( iAddress-&gt;<a href="ntqlineedit.html#sizeHint">sizeHint</a>() );
+ iAddress = new <a href="tqlineedit.html">TQLineEdit</a>( input );
+ iAddress-&gt;<a href="tqwidget.html#resize">resize</a>( iAddress-&gt;<a href="tqlineedit.html#sizeHint">sizeHint</a>() );
grid1-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( iAddress, 1, 2 );
liAddress-&gt;<a href="tqlabel.html#setBuddy">setBuddy</a>( iAddress );
- iEMail = new <a href="ntqlineedit.html">TQLineEdit</a>( input );
- iEMail-&gt;<a href="tqwidget.html#resize">resize</a>( iEMail-&gt;<a href="ntqlineedit.html#sizeHint">sizeHint</a>() );
+ iEMail = new <a href="tqlineedit.html">TQLineEdit</a>( input );
+ iEMail-&gt;<a href="tqwidget.html#resize">resize</a>( iEMail-&gt;<a href="tqlineedit.html#sizeHint">sizeHint</a>() );
grid1-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( iEMail, 1, 3 );
liEMail-&gt;<a href="tqlabel.html#setBuddy">setBuddy</a>( iEMail );
- change = new <a href="ntqpushbutton.html">TQPushButton</a>( "&amp;Change", input );
+ change = new <a href="tqpushbutton.html">TQPushButton</a>( "&amp;Change", input );
change-&gt;<a href="tqwidget.html#resize">resize</a>( change-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>() );
grid1-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( change, 1, 4 );
<a href="tqobject.html#connect">connect</a>( change, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( changeEntry() ) );
@@ -405,48 +405,48 @@ void <a name="f277"></a>ABCentralWidget::setupTabWidget()
<a href="tqwidget.html">TQWidget</a> *search = new <a href="tqwidget.html">TQWidget</a>( this );
<a href="qgridlayout.html">TQGridLayout</a> *grid2 = new <a href="qgridlayout.html">TQGridLayout</a>( search, 2, 5, 5, 5 );
- cFirstName = new <a href="ntqcheckbox.html">TQCheckBox</a>( "First &amp;Name", search );
+ cFirstName = new <a href="tqcheckbox.html">TQCheckBox</a>( "First &amp;Name", search );
<a name="x575"></a> cFirstName-&gt;<a href="tqwidget.html#resize">resize</a>( cFirstName-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>() );
grid2-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( cFirstName, 0, 0 );
<a href="tqobject.html#connect">connect</a>( cFirstName, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( toggleFirstName() ) );
- cLastName = new <a href="ntqcheckbox.html">TQCheckBox</a>( "&amp;Last Name", search );
+ cLastName = new <a href="tqcheckbox.html">TQCheckBox</a>( "&amp;Last Name", search );
cLastName-&gt;<a href="tqwidget.html#resize">resize</a>( cLastName-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>() );
grid2-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( cLastName, 0, 1 );
<a href="tqobject.html#connect">connect</a>( cLastName, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( toggleLastName() ) );
- cAddress = new <a href="ntqcheckbox.html">TQCheckBox</a>( "Add&amp;ress", search );
+ cAddress = new <a href="tqcheckbox.html">TQCheckBox</a>( "Add&amp;ress", search );
cAddress-&gt;<a href="tqwidget.html#resize">resize</a>( cAddress-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>() );
grid2-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( cAddress, 0, 2 );
<a href="tqobject.html#connect">connect</a>( cAddress, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( toggleAddress() ) );
- cEMail = new <a href="ntqcheckbox.html">TQCheckBox</a>( "&amp;E-Mail", search );
+ cEMail = new <a href="tqcheckbox.html">TQCheckBox</a>( "&amp;E-Mail", search );
cEMail-&gt;<a href="tqwidget.html#resize">resize</a>( cEMail-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>() );
grid2-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( cEMail, 0, 3 );
<a href="tqobject.html#connect">connect</a>( cEMail, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( toggleEMail() ) );
- sFirstName = new <a href="ntqlineedit.html">TQLineEdit</a>( search );
- sFirstName-&gt;<a href="tqwidget.html#resize">resize</a>( sFirstName-&gt;<a href="ntqlineedit.html#sizeHint">sizeHint</a>() );
+ sFirstName = new <a href="tqlineedit.html">TQLineEdit</a>( search );
+ sFirstName-&gt;<a href="tqwidget.html#resize">resize</a>( sFirstName-&gt;<a href="tqlineedit.html#sizeHint">sizeHint</a>() );
grid2-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( sFirstName, 1, 0 );
- sLastName = new <a href="ntqlineedit.html">TQLineEdit</a>( search );
- sLastName-&gt;<a href="tqwidget.html#resize">resize</a>( sLastName-&gt;<a href="ntqlineedit.html#sizeHint">sizeHint</a>() );
+ sLastName = new <a href="tqlineedit.html">TQLineEdit</a>( search );
+ sLastName-&gt;<a href="tqwidget.html#resize">resize</a>( sLastName-&gt;<a href="tqlineedit.html#sizeHint">sizeHint</a>() );
grid2-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( sLastName, 1, 1 );
- sAddress = new <a href="ntqlineedit.html">TQLineEdit</a>( search );
- sAddress-&gt;<a href="tqwidget.html#resize">resize</a>( sAddress-&gt;<a href="ntqlineedit.html#sizeHint">sizeHint</a>() );
+ sAddress = new <a href="tqlineedit.html">TQLineEdit</a>( search );
+ sAddress-&gt;<a href="tqwidget.html#resize">resize</a>( sAddress-&gt;<a href="tqlineedit.html#sizeHint">sizeHint</a>() );
grid2-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( sAddress, 1, 2 );
- sEMail = new <a href="ntqlineedit.html">TQLineEdit</a>( search );
- sEMail-&gt;<a href="tqwidget.html#resize">resize</a>( sEMail-&gt;<a href="ntqlineedit.html#sizeHint">sizeHint</a>() );
+ sEMail = new <a href="tqlineedit.html">TQLineEdit</a>( search );
+ sEMail-&gt;<a href="tqwidget.html#resize">resize</a>( sEMail-&gt;<a href="tqlineedit.html#sizeHint">sizeHint</a>() );
grid2-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( sEMail, 1, 3 );
- find = new <a href="ntqpushbutton.html">TQPushButton</a>( "F&amp;ind", search );
+ find = new <a href="tqpushbutton.html">TQPushButton</a>( "F&amp;ind", search );
find-&gt;<a href="tqwidget.html#resize">resize</a>( find-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>() );
grid2-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( find, 1, 4 );
<a href="tqobject.html#connect">connect</a>( find, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( findEntries() ) );
-<a name="x574"></a> cFirstName-&gt;<a href="ntqcheckbox.html#setChecked">setChecked</a>( TRUE );
+<a name="x574"></a> cFirstName-&gt;<a href="tqcheckbox.html#setChecked">setChecked</a>( TRUE );
<a name="x605"></a> sFirstName-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE );
sLastName-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE );
sAddress-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE );
@@ -475,19 +475,19 @@ void <a name="f278"></a>ABCentralWidget::setupListView()
void <a name="f279"></a>ABCentralWidget::addEntry()
{
-<a name="x584"></a> if ( !iFirstName-&gt;<a href="ntqlineedit.html#text">text</a>().isEmpty() || !iLastName-&gt;<a href="ntqlineedit.html#text">text</a>().isEmpty() ||
- !iAddress-&gt;<a href="ntqlineedit.html#text">text</a>().isEmpty() || !iEMail-&gt;<a href="ntqlineedit.html#text">text</a>().isEmpty() ) {
+<a name="x584"></a> if ( !iFirstName-&gt;<a href="tqlineedit.html#text">text</a>().isEmpty() || !iLastName-&gt;<a href="tqlineedit.html#text">text</a>().isEmpty() ||
+ !iAddress-&gt;<a href="tqlineedit.html#text">text</a>().isEmpty() || !iEMail-&gt;<a href="tqlineedit.html#text">text</a>().isEmpty() ) {
<a href="qlistviewitem.html">TQListViewItem</a> *item = new <a href="qlistviewitem.html">TQListViewItem</a>( listView );
- item-&gt;<a href="qlistviewitem.html#setText">setText</a>( 0, iFirstName-&gt;<a href="ntqlineedit.html#text">text</a>() );
- item-&gt;<a href="qlistviewitem.html#setText">setText</a>( 1, iLastName-&gt;<a href="ntqlineedit.html#text">text</a>() );
- item-&gt;<a href="qlistviewitem.html#setText">setText</a>( 2, iAddress-&gt;<a href="ntqlineedit.html#text">text</a>() );
- item-&gt;<a href="qlistviewitem.html#setText">setText</a>( 3, iEMail-&gt;<a href="ntqlineedit.html#text">text</a>() );
+ item-&gt;<a href="qlistviewitem.html#setText">setText</a>( 0, iFirstName-&gt;<a href="tqlineedit.html#text">text</a>() );
+ item-&gt;<a href="qlistviewitem.html#setText">setText</a>( 1, iLastName-&gt;<a href="tqlineedit.html#text">text</a>() );
+ item-&gt;<a href="qlistviewitem.html#setText">setText</a>( 2, iAddress-&gt;<a href="tqlineedit.html#text">text</a>() );
+ item-&gt;<a href="qlistviewitem.html#setText">setText</a>( 3, iEMail-&gt;<a href="tqlineedit.html#text">text</a>() );
}
-<a name="x582"></a> iFirstName-&gt;<a href="ntqlineedit.html#setText">setText</a>( "" );
- iLastName-&gt;<a href="ntqlineedit.html#setText">setText</a>( "" );
- iAddress-&gt;<a href="ntqlineedit.html#setText">setText</a>( "" );
- iEMail-&gt;<a href="ntqlineedit.html#setText">setText</a>( "" );
+<a name="x582"></a> iFirstName-&gt;<a href="tqlineedit.html#setText">setText</a>( "" );
+ iLastName-&gt;<a href="tqlineedit.html#setText">setText</a>( "" );
+ iAddress-&gt;<a href="tqlineedit.html#setText">setText</a>( "" );
+ iEMail-&gt;<a href="tqlineedit.html#setText">setText</a>( "" );
}
void <a name="f280"></a>ABCentralWidget::changeEntry()
@@ -495,21 +495,21 @@ void <a name="f280"></a>ABCentralWidget::changeEntry()
<a name="x589"></a> <a href="qlistviewitem.html">TQListViewItem</a> *item = listView-&gt;<a href="ntqlistview.html#currentItem">currentItem</a>();
if ( item &amp;&amp;
- ( !iFirstName-&gt;<a href="ntqlineedit.html#text">text</a>().isEmpty() || !iLastName-&gt;<a href="ntqlineedit.html#text">text</a>().isEmpty() ||
- !iAddress-&gt;<a href="ntqlineedit.html#text">text</a>().isEmpty() || !iEMail-&gt;<a href="ntqlineedit.html#text">text</a>().isEmpty() ) ) {
- item-&gt;<a href="qlistviewitem.html#setText">setText</a>( 0, iFirstName-&gt;<a href="ntqlineedit.html#text">text</a>() );
- item-&gt;<a href="qlistviewitem.html#setText">setText</a>( 1, iLastName-&gt;<a href="ntqlineedit.html#text">text</a>() );
- item-&gt;<a href="qlistviewitem.html#setText">setText</a>( 2, iAddress-&gt;<a href="ntqlineedit.html#text">text</a>() );
- item-&gt;<a href="qlistviewitem.html#setText">setText</a>( 3, iEMail-&gt;<a href="ntqlineedit.html#text">text</a>() );
+ ( !iFirstName-&gt;<a href="tqlineedit.html#text">text</a>().isEmpty() || !iLastName-&gt;<a href="tqlineedit.html#text">text</a>().isEmpty() ||
+ !iAddress-&gt;<a href="tqlineedit.html#text">text</a>().isEmpty() || !iEMail-&gt;<a href="tqlineedit.html#text">text</a>().isEmpty() ) ) {
+ item-&gt;<a href="qlistviewitem.html#setText">setText</a>( 0, iFirstName-&gt;<a href="tqlineedit.html#text">text</a>() );
+ item-&gt;<a href="qlistviewitem.html#setText">setText</a>( 1, iLastName-&gt;<a href="tqlineedit.html#text">text</a>() );
+ item-&gt;<a href="qlistviewitem.html#setText">setText</a>( 2, iAddress-&gt;<a href="tqlineedit.html#text">text</a>() );
+ item-&gt;<a href="qlistviewitem.html#setText">setText</a>( 3, iEMail-&gt;<a href="tqlineedit.html#text">text</a>() );
}
}
void <a name="f281"></a>ABCentralWidget::selectionChanged()
{
- iFirstName-&gt;<a href="ntqlineedit.html#setText">setText</a>( "" );
- iLastName-&gt;<a href="ntqlineedit.html#setText">setText</a>( "" );
- iAddress-&gt;<a href="ntqlineedit.html#setText">setText</a>( "" );
- iEMail-&gt;<a href="ntqlineedit.html#setText">setText</a>( "" );
+ iFirstName-&gt;<a href="tqlineedit.html#setText">setText</a>( "" );
+ iLastName-&gt;<a href="tqlineedit.html#setText">setText</a>( "" );
+ iAddress-&gt;<a href="tqlineedit.html#setText">setText</a>( "" );
+ iEMail-&gt;<a href="tqlineedit.html#setText">setText</a>( "" );
}
void <a name="f282"></a>ABCentralWidget::itemSelected( <a href="qlistviewitem.html">TQListViewItem</a> *item )
@@ -519,17 +519,17 @@ void <a name="f282"></a>ABCentralWidget::itemSelected( <a href="qlistviewitem.ht
<a name="x594"></a> item-&gt;<a href="qlistviewitem.html#setSelected">setSelected</a>( TRUE );
<a name="x593"></a> item-&gt;<a href="qlistviewitem.html#repaint">repaint</a>();
-<a name="x596"></a> iFirstName-&gt;<a href="ntqlineedit.html#setText">setText</a>( item-&gt;<a href="qlistviewitem.html#text">text</a>( 0 ) );
- iLastName-&gt;<a href="ntqlineedit.html#setText">setText</a>( item-&gt;<a href="qlistviewitem.html#text">text</a>( 1 ) );
- iAddress-&gt;<a href="ntqlineedit.html#setText">setText</a>( item-&gt;<a href="qlistviewitem.html#text">text</a>( 2 ) );
- iEMail-&gt;<a href="ntqlineedit.html#setText">setText</a>( item-&gt;<a href="qlistviewitem.html#text">text</a>( 3 ) );
+<a name="x596"></a> iFirstName-&gt;<a href="tqlineedit.html#setText">setText</a>( item-&gt;<a href="qlistviewitem.html#text">text</a>( 0 ) );
+ iLastName-&gt;<a href="tqlineedit.html#setText">setText</a>( item-&gt;<a href="qlistviewitem.html#text">text</a>( 1 ) );
+ iAddress-&gt;<a href="tqlineedit.html#setText">setText</a>( item-&gt;<a href="qlistviewitem.html#text">text</a>( 2 ) );
+ iEMail-&gt;<a href="tqlineedit.html#setText">setText</a>( item-&gt;<a href="qlistviewitem.html#text">text</a>( 3 ) );
}
void <a name="f283"></a>ABCentralWidget::toggleFirstName()
{
- sFirstName-&gt;<a href="ntqlineedit.html#setText">setText</a>( "" );
+ sFirstName-&gt;<a href="tqlineedit.html#setText">setText</a>( "" );
-<a name="x573"></a> if ( cFirstName-&gt;<a href="ntqcheckbox.html#isChecked">isChecked</a>() ) {
+<a name="x573"></a> if ( cFirstName-&gt;<a href="tqcheckbox.html#isChecked">isChecked</a>() ) {
sFirstName-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE );
<a name="x606"></a> sFirstName-&gt;<a href="tqwidget.html#setFocus">setFocus</a>();
}
@@ -539,9 +539,9 @@ void <a name="f283"></a>ABCentralWidget::toggleFirstName()
void <a name="f284"></a>ABCentralWidget::toggleLastName()
{
- sLastName-&gt;<a href="ntqlineedit.html#setText">setText</a>( "" );
+ sLastName-&gt;<a href="tqlineedit.html#setText">setText</a>( "" );
- if ( cLastName-&gt;<a href="ntqcheckbox.html#isChecked">isChecked</a>() ) {
+ if ( cLastName-&gt;<a href="tqcheckbox.html#isChecked">isChecked</a>() ) {
sLastName-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE );
sLastName-&gt;<a href="tqwidget.html#setFocus">setFocus</a>();
}
@@ -551,9 +551,9 @@ void <a name="f284"></a>ABCentralWidget::toggleLastName()
void <a name="f285"></a>ABCentralWidget::toggleAddress()
{
- sAddress-&gt;<a href="ntqlineedit.html#setText">setText</a>( "" );
+ sAddress-&gt;<a href="tqlineedit.html#setText">setText</a>( "" );
- if ( cAddress-&gt;<a href="ntqcheckbox.html#isChecked">isChecked</a>() ) {
+ if ( cAddress-&gt;<a href="tqcheckbox.html#isChecked">isChecked</a>() ) {
sAddress-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE );
sAddress-&gt;<a href="tqwidget.html#setFocus">setFocus</a>();
}
@@ -563,9 +563,9 @@ void <a name="f285"></a>ABCentralWidget::toggleAddress()
void <a name="f286"></a>ABCentralWidget::toggleEMail()
{
- sEMail-&gt;<a href="ntqlineedit.html#setText">setText</a>( "" );
+ sEMail-&gt;<a href="tqlineedit.html#setText">setText</a>( "" );
- if ( cEMail-&gt;<a href="ntqcheckbox.html#isChecked">isChecked</a>() ) {
+ if ( cEMail-&gt;<a href="tqcheckbox.html#isChecked">isChecked</a>() ) {
sEMail-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE );
sEMail-&gt;<a href="tqwidget.html#setFocus">setFocus</a>();
}
@@ -575,10 +575,10 @@ void <a name="f286"></a>ABCentralWidget::toggleEMail()
void <a name="f287"></a>ABCentralWidget::findEntries()
{
- if ( !cFirstName-&gt;<a href="ntqcheckbox.html#isChecked">isChecked</a>() &amp;&amp;
- !cLastName-&gt;<a href="ntqcheckbox.html#isChecked">isChecked</a>() &amp;&amp;
- !cAddress-&gt;<a href="ntqcheckbox.html#isChecked">isChecked</a>() &amp;&amp;
- !cEMail-&gt;<a href="ntqcheckbox.html#isChecked">isChecked</a>() ) {
+ if ( !cFirstName-&gt;<a href="tqcheckbox.html#isChecked">isChecked</a>() &amp;&amp;
+ !cLastName-&gt;<a href="tqcheckbox.html#isChecked">isChecked</a>() &amp;&amp;
+ !cAddress-&gt;<a href="tqcheckbox.html#isChecked">isChecked</a>() &amp;&amp;
+ !cEMail-&gt;<a href="tqcheckbox.html#isChecked">isChecked</a>() ) {
<a name="x587"></a> listView-&gt;<a href="ntqlistview.html#clearSelection">clearSelection</a>();
return;
}
@@ -588,26 +588,26 @@ void <a name="f287"></a>ABCentralWidget::findEntries()
for ( ; it.<a href="qlistviewitemiterator.html#current">current</a>(); ++it ) {
bool select = TRUE;
- if ( cFirstName-&gt;<a href="ntqcheckbox.html#isChecked">isChecked</a>() ) {
- if ( select &amp;&amp; it.<a href="qlistviewitemiterator.html#current">current</a>()-&gt;text( 0 ).contains( sFirstName-&gt;<a href="ntqlineedit.html#text">text</a>() ) )
+ if ( cFirstName-&gt;<a href="tqcheckbox.html#isChecked">isChecked</a>() ) {
+ if ( select &amp;&amp; it.<a href="qlistviewitemiterator.html#current">current</a>()-&gt;text( 0 ).contains( sFirstName-&gt;<a href="tqlineedit.html#text">text</a>() ) )
select = TRUE;
else
select = FALSE;
}
- if ( cLastName-&gt;<a href="ntqcheckbox.html#isChecked">isChecked</a>() ) {
- if ( select &amp;&amp; it.<a href="qlistviewitemiterator.html#current">current</a>()-&gt;text( 1 ).contains( sLastName-&gt;<a href="ntqlineedit.html#text">text</a>() ) )
+ if ( cLastName-&gt;<a href="tqcheckbox.html#isChecked">isChecked</a>() ) {
+ if ( select &amp;&amp; it.<a href="qlistviewitemiterator.html#current">current</a>()-&gt;text( 1 ).contains( sLastName-&gt;<a href="tqlineedit.html#text">text</a>() ) )
select = TRUE;
else
select = FALSE;
}
- if ( cAddress-&gt;<a href="ntqcheckbox.html#isChecked">isChecked</a>() ) {
- if ( select &amp;&amp; it.<a href="qlistviewitemiterator.html#current">current</a>()-&gt;text( 2 ).contains( sAddress-&gt;<a href="ntqlineedit.html#text">text</a>() ) )
+ if ( cAddress-&gt;<a href="tqcheckbox.html#isChecked">isChecked</a>() ) {
+ if ( select &amp;&amp; it.<a href="qlistviewitemiterator.html#current">current</a>()-&gt;text( 2 ).contains( sAddress-&gt;<a href="tqlineedit.html#text">text</a>() ) )
select = TRUE;
else
select = FALSE;
}
- if ( cEMail-&gt;<a href="ntqcheckbox.html#isChecked">isChecked</a>() ) {
- if ( select &amp;&amp; it.<a href="qlistviewitemiterator.html#current">current</a>()-&gt;text( 3 ).contains( sEMail-&gt;<a href="ntqlineedit.html#text">text</a>() ) )
+ if ( cEMail-&gt;<a href="tqcheckbox.html#isChecked">isChecked</a>() ) {
+ if ( select &amp;&amp; it.<a href="qlistviewitemiterator.html#current">current</a>()-&gt;text( 3 ).contains( sEMail-&gt;<a href="tqlineedit.html#text">text</a>() ) )
select = TRUE;
else
select = FALSE;