diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-13 09:38:34 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-15 20:09:38 +0900 |
| commit | ca275a6386d2ea3b95129ce78695865a3523153b (patch) | |
| tree | 928f442cdcd715bb0ece379b605cfb4a7ef1c035 /tdersync/rsyncconfigdialog.cpp | |
| parent | 3afb7eb4e984562dff3addf2c6399c19262497f0 (diff) | |
| download | tdelibs-ca275a63.tar.gz tdelibs-ca275a63.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ad58630b34fc61754c763cf951004ef27e38d33d)
Diffstat (limited to 'tdersync/rsyncconfigdialog.cpp')
| -rw-r--r-- | tdersync/rsyncconfigdialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tdersync/rsyncconfigdialog.cpp b/tdersync/rsyncconfigdialog.cpp index 00c55922f..df12c6667 100644 --- a/tdersync/rsyncconfigdialog.cpp +++ b/tdersync/rsyncconfigdialog.cpp @@ -128,7 +128,7 @@ RsyncConfigDialog::RsyncConfigDialog(TQWidget* parent, const char* name, // Create an exclusive button group TQButtonGroup *layoutg = new TQButtonGroup( 1, TQt::Horizontal, i18n("Synchronization Method")+TQString(":"), mainWidget); layout->addWidget( layoutg ); - layoutg->setExclusive( TRUE ); + layoutg->setExclusive( true ); // Insert radiobuttons rsync_rb1 = new TQRadioButton(i18n("&Utilize rsync + ssh for upload to remote server\nExample: servername:/path/to/remote/folder"), layoutg); @@ -136,11 +136,11 @@ RsyncConfigDialog::RsyncConfigDialog(TQWidget* parent, const char* name, rsync_rb3 = new TQRadioButton(i18n("&Utilize unison + ssh for bidirectional synchronization with remote server\nExample: ssh://servername//path/to/remote/folder"), layoutg); if (syncmode == 1) - rsync_rb1->setChecked( TRUE ); + rsync_rb1->setChecked( true ); else if (syncmode == 2) - rsync_rb2->setChecked( TRUE ); + rsync_rb2->setChecked( true ); else if (syncmode == 3) - rsync_rb3->setChecked( TRUE ); + rsync_rb3->setChecked( true ); //(void)new TQRadioButton( "R&adiobutton 2", layoutg ); //(void)new TQRadioButton( "Ra&diobutton 3", layoutg ); @@ -148,7 +148,7 @@ RsyncConfigDialog::RsyncConfigDialog(TQWidget* parent, const char* name, // Create an exclusive button group TQButtonGroup *layoutm = new TQButtonGroup( 1, TQt::Horizontal, i18n("Remote Folder")+TQString(":"), mainWidget); layout->addWidget( layoutm ); - layoutg->setExclusive( TRUE ); + layoutg->setExclusive( true ); m_rsync_txt = new TQLineEdit(layoutm); if (remotefolder.isEmpty() == false) { @@ -158,7 +158,7 @@ RsyncConfigDialog::RsyncConfigDialog(TQWidget* parent, const char* name, // Create an exclusive button group TQButtonGroup *layouta = new TQButtonGroup( 1, TQt::Horizontal, i18n("Automatic Synchronization")+TQString(":"), mainWidget); layout->addWidget( layouta ); - layouta->setExclusive( FALSE ); + layouta->setExclusive( false ); m_sync_auto_logout_cb = new TQCheckBox(layouta); m_sync_auto_logout_cb->setText(i18n("Synchronize on logout")); |
