summaryrefslogtreecommitdiffstats
path: root/examples/lineedits/lineedits.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/lineedits/lineedits.cpp')
-rw-r--r--examples/lineedits/lineedits.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/lineedits/lineedits.cpp b/examples/lineedits/lineedits.cpp
index 3b83aeebe..d7358335b 100644
--- a/examples/lineedits/lineedits.cpp
+++ b/examples/lineedits/lineedits.cpp
@@ -38,7 +38,7 @@ LineEdits::LineEdits( TQWidget *parent, const char *name )
row1->addWidget( label );
// Create a Combobox with three items...
- combo1 = new TQComboBox( FALSE, this );
+ combo1 = new TQComboBox( false, this );
row1->addWidget( combo1 );
combo1->insertItem( "Normal" );
combo1->insertItem( "Password" );
@@ -60,7 +60,7 @@ LineEdits::LineEdits( TQWidget *parent, const char *name )
row2->addWidget( label );
// A second Combobox with again three items...
- combo2 = new TQComboBox( FALSE, this );
+ combo2 = new TQComboBox( false, this );
row2->addWidget( combo2 );
combo2->insertItem( "No Validator" );
combo2->insertItem( "Integer Validator" );
@@ -81,7 +81,7 @@ LineEdits::LineEdits( TQWidget *parent, const char *name )
row3->addWidget( label );
// A combo box for setting alignment
- combo3 = new TQComboBox( FALSE, this );
+ combo3 = new TQComboBox( false, this );
row3->addWidget( combo3 );
combo3->insertItem( "Left" );
combo3->insertItem( "Centered" );
@@ -102,7 +102,7 @@ LineEdits::LineEdits( TQWidget *parent, const char *name )
row4->addWidget( label );
// A combo box for choosing an input mask
- combo4 = new TQComboBox( FALSE, this );
+ combo4 = new TQComboBox( false, this );
row4->addWidget( combo4 );
combo4->insertItem( "No mask" );
combo4->insertItem( "Phone number" );
@@ -126,7 +126,7 @@ LineEdits::LineEdits( TQWidget *parent, const char *name )
(void)new TQLabel( "Read-Only: ", row5 );
// A combo box for setting alignment
- combo5 = new TQComboBox( FALSE, row5 );
+ combo5 = new TQComboBox( false, row5 );
combo5->insertItem( "False" );
combo5->insertItem( "True" );
// ...and again the activated() TQ_SIGNAL gets connected with a TQ_SLOT
@@ -260,10 +260,10 @@ void LineEdits::slotReadOnlyChanged( int i )
{
switch ( i ) {
case 0:
- lined5->setReadOnly( FALSE );
+ lined5->setReadOnly( false );
break;
case 1:
- lined5->setReadOnly( TRUE );
+ lined5->setReadOnly( true );
break;
}