summaryrefslogtreecommitdiffstats
path: root/examples/distributor
diff options
context:
space:
mode:
Diffstat (limited to 'examples/distributor')
-rw-r--r--examples/distributor/distributor.ui.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/examples/distributor/distributor.ui.h b/examples/distributor/distributor.ui.h
index 93e6826cc..c51056f59 100644
--- a/examples/distributor/distributor.ui.h
+++ b/examples/distributor/distributor.ui.h
@@ -24,29 +24,29 @@ void Distributor::init()
timer = new TQTimer( this );
connect( timer, TQ_SIGNAL(timeout()), TQ_SLOT(checkLibData()) );
- cancelButton()->setAutoDefault( FALSE );
- backButton()->setAutoDefault( FALSE );
+ cancelButton()->setAutoDefault( false );
+ backButton()->setAutoDefault( false );
- setNextEnabled( selectLibrary, FALSE );
+ setNextEnabled( selectLibrary, false );
- setHelpEnabled( selectLibrary, FALSE );
- setHelpEnabled( modifyPaths, FALSE );
- setHelpEnabled( verifyMods, FALSE );
+ setHelpEnabled( selectLibrary, false );
+ setHelpEnabled( modifyPaths, false );
+ setHelpEnabled( verifyMods, false );
- setFinishEnabled( verifyMods, TRUE );
+ setFinishEnabled( verifyMods, true );
}
void Distributor::showPage( TQWidget *page )
{
if ( page == selectLibrary ) {
- nextButton()->setDefault( TRUE );
+ nextButton()->setDefault( true );
libFilename->setFocus();
} else if ( page == modifyPaths ) {
- nextButton()->setDefault( TRUE );
+ nextButton()->setDefault( true );
prefixPath->selectAll();
prefixPath->setFocus();
} else if ( page == verifyMods ) {
- finishButton()->setDefault( TRUE );
+ finishButton()->setDefault( true );
finishButton()->setFocus();
TQString labeltext =
@@ -81,13 +81,13 @@ void Distributor::showPage( TQWidget *page )
void Distributor::checkLibFilename( const TQString &filename )
{
- setNextEnabled( selectLibrary, FALSE );
+ setNextEnabled( selectLibrary, false );
TQFileInfo fileinfo( filename );
if ( ! filename.isEmpty() && fileinfo.exists() &&
fileinfo.isReadable() && fileinfo.isWritable() &&
fileinfo.isFile() && !fileinfo.isSymLink() )
- timer->start( 500, TRUE );
+ timer->start( 500, true );
}
void Distributor::browseLibFilename()
@@ -134,25 +134,25 @@ void Distributor::checkLibData()
} steps[7];
steps[0].key = "qt_nstpath=";
- steps[0].done = FALSE;
+ steps[0].done = false;
steps[1].key = "qt_binpath=";
- steps[1].done = FALSE;
+ steps[1].done = false;
steps[2].key = "qt_docpath=";
- steps[2].done = FALSE;
+ steps[2].done = false;
steps[3].key = "qt_hdrpath=";
- steps[3].done = FALSE;
+ steps[3].done = false;
steps[4].key = "qt_libpath=";
- steps[4].done = FALSE;
+ steps[4].done = false;
steps[5].key = "qt_plgpath=";
- steps[5].done = FALSE;
+ steps[5].done = false;
steps[6].key = "qt_datpath=";
- steps[6].done = FALSE;
+ steps[6].done = false;
uint completed = 0;
uint total_steps = sizeof(steps) / sizeof(step);
@@ -192,7 +192,7 @@ void Distributor::checkLibData()
}
steps[x].value = s;
- steps[x].done = TRUE;
+ steps[x].done = true;
++completed;
}
@@ -209,7 +209,7 @@ void Distributor::checkLibData()
}
if ( completed == total_steps ) {
- setNextEnabled( selectLibrary, TRUE );
+ setNextEnabled( selectLibrary, true );
TQString prefix = TQFile::decodeName( steps[0].value );
prefixPath->setText( prefix );
@@ -281,31 +281,31 @@ void Distributor::accept()
steps[0].key = "qt_nstpath=";
steps[0].value = TQFile::encodeName( prefixPath->text() );
- steps[0].done = FALSE;
+ steps[0].done = false;
steps[1].key = "qt_binpath=";
steps[1].value = TQFile::encodeName( binPath->text() );
- steps[1].done = FALSE;
+ steps[1].done = false;
steps[2].key = "qt_docpath=";
steps[2].value = TQFile::encodeName( docPath->text() );
- steps[2].done = FALSE;
+ steps[2].done = false;
steps[3].key = "qt_hdrpath=";
steps[3].value = TQFile::encodeName( hdrPath->text() );
- steps[3].done = FALSE;
+ steps[3].done = false;
steps[4].key = "qt_libpath=";
steps[4].value = TQFile::encodeName( libPath->text() );
- steps[4].done = FALSE;
+ steps[4].done = false;
steps[5].key = "qt_plgpath=";
steps[5].value = TQFile::encodeName( plgPath->text() );
- steps[5].done = FALSE;
+ steps[5].done = false;
steps[6].key = "qt_datpath=";
steps[6].value = TQFile::encodeName( datPath->text() );
- steps[6].done = FALSE;
+ steps[6].done = false;
uint completed = 0;
uint total_steps = sizeof(steps) / sizeof(step);
@@ -346,7 +346,7 @@ void Distributor::accept()
}
qstrcpy( s, steps[x].value );
- steps[x].done = TRUE;
+ steps[x].done = true;
++completed;
}