summaryrefslogtreecommitdiffstats
path: root/examples/i18n/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/i18n/main.cpp')
-rw-r--r--examples/i18n/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/i18n/main.cpp b/examples/i18n/main.cpp
index ef41d3756..36cb7cfb3 100644
--- a/examples/i18n/main.cpp
+++ b/examples/i18n/main.cpp
@@ -30,11 +30,11 @@
class TQVDialog : public TQDialog {
public:
- TQVDialog(TQWidget *parent=0, const char *name=0, bool modal=FALSE,
+ TQVDialog(TQWidget *parent=0, const char *name=0, bool modal=false,
WFlags f=0) : TQDialog(parent,name,modal,f)
{
TQVBoxLayout* vb = new TQVBoxLayout(this,8);
- vb->setAutoAdd(TRUE);
+ vb->setAutoAdd(true);
hb = 0;
sm = new TQSignalMapper(this);
connect(sm,TQ_SIGNAL(mapped(int)),this,TQ_SLOT(done(int)));
@@ -110,7 +110,7 @@ int main( int argc, char** argv )
lang = argv[1];
if ( argc != 2 || lang == "all" ) {
- TQVDialog dlg(0,0,TRUE);
+ TQVDialog dlg(0,0,true);
TQCheckBox* qmb[sizeof(qm)/sizeof(qm[0])];
int r;
if ( lang == "all" ) {
@@ -162,7 +162,7 @@ int main( int argc, char** argv )
}
#ifdef USE_I18N_FONT
- memorymanager->savePrerenderedFont(font.handle(),FALSE);
+ memorymanager->savePrerenderedFont(font.handle(),false);
#endif
// While we run "all", kill them all