diff options
Diffstat (limited to 'kdialog')
-rw-r--r-- | kdialog/kdialog.cpp | 6 | ||||
-rw-r--r-- | kdialog/widgets.cpp | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/kdialog/kdialog.cpp b/kdialog/kdialog.cpp index 348314800..5d2c90ae2 100644 --- a/kdialog/kdialog.cpp +++ b/kdialog/kdialog.cpp @@ -156,7 +156,7 @@ static void outputStringList(TQStringList list, bool separateOutput) static int directCommand(TDECmdLineArgs *args) { TQString title; - bool separateOutput = FALSE; + bool separateOutput = false; bool printWId = args->isSet("print-winid"); bool embed = args->isSet("embed") || args->isSet("attach"); TQString defaultEntry; @@ -170,7 +170,7 @@ static int directCommand(TDECmdLineArgs *args) // --separate-output if (args->isSet("separate-output")) { - separateOutput = TRUE; + separateOutput = true; } if (printWId || embed) { @@ -315,7 +315,7 @@ static int directCommand(TDECmdLineArgs *args) TQTimer *timer = new TQTimer(); TQObject::connect( timer, TQ_SIGNAL( timeout() ), tdeApp, TQ_SLOT( quit() ) ); TQObject::connect( popup, TQ_SIGNAL( clicked() ), tdeApp, TQ_SLOT( quit() ) ); - timer->start( duration, TRUE ); + timer->start( duration, true ); #ifdef TQ_WS_X11 if ( ! tdeApp->geometryArgument().isEmpty()) { diff --git a/kdialog/widgets.cpp b/kdialog/widgets.cpp index c0f3921f5..8a92a5dd3 100644 --- a/kdialog/widgets.cpp +++ b/kdialog/widgets.cpp @@ -83,12 +83,12 @@ bool Widgets::passwordBox(TQWidget *parent, const TQString& title, const TQStrin int Widgets::textBox(TQWidget *parent, int width, int height, const TQString& title, const TQString& file) { -// KTextBox dlg(parent, 0, TRUE, width, height, file); +// KTextBox dlg(parent, 0, true, width, height, file); KDialogBase dlg( parent, 0, true, title, KDialogBase::Ok, KDialogBase::Ok ); tdeApp->setTopWidget( &dlg ); KTextEdit *edit = new KTextEdit( dlg.makeVBoxMainWidget() ); - edit->setReadOnly(TRUE); + edit->setReadOnly(true); TQFile f(file); if (!f.open(IO_ReadOnly)) @@ -116,7 +116,7 @@ int Widgets::textBox(TQWidget *parent, int width, int height, const TQString& ti int Widgets::textInputBox(TQWidget *parent, int width, int height, const TQString& title, const TQStringList& args, TQCString &result) { -// KTextBox dlg(parent, 0, TRUE, width, height, file); +// KTextBox dlg(parent, 0, true, width, height, file); KDialogBase dlg( parent, 0, true, title, KDialogBase::Ok, KDialogBase::Ok ); tdeApp->setTopWidget( &dlg ); @@ -129,7 +129,7 @@ int Widgets::textInputBox(TQWidget *parent, int width, int height, const TQStrin } KTextEdit *edit = new KTextEdit( vbox ); - edit->setReadOnly(FALSE); + edit->setReadOnly(false); edit->setTextFormat( TQt::PlainText ); edit->setFocus(); @@ -214,7 +214,7 @@ bool Widgets::checkList(TQWidget *parent, const TQString& title, const TQString& } table.insertStringList(entries); - table.setMultiSelection(TRUE); + table.setMultiSelection(true); table.setCurrentItem(0); // This is to circumvent a Qt bug for (unsigned int i=0; i+2<args.count(); i += 3) { |