diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-22 13:43:19 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-22 13:43:19 +0900 |
| commit | 26a93b0fbb3c81e4aa011fc49cd88444b8edc0bd (patch) | |
| tree | 696cf670dc8e1aa2d0e6f1279dc27aa4ac3b7f1f /src/plugins | |
| parent | 431ea961e243333304fd0edb9785689e280da331 (diff) | |
| download | ktorrent-26a93b0fbb3c81e4aa011fc49cd88444b8edc0bd.tar.gz ktorrent-26a93b0fbb3c81e4aa011fc49cd88444b8edc0bd.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/plugins')
| -rw-r--r-- | src/plugins/ipfilter/antip2p.h | 4 | ||||
| -rw-r--r-- | src/plugins/ipfilter/ktipfilterplugin.kcfg | 2 | ||||
| -rw-r--r-- | src/plugins/partfileimport/importdialog.h | 2 | ||||
| -rw-r--r-- | src/plugins/scanfolder/ktscanfolderplugin.kcfg | 12 | ||||
| -rw-r--r-- | src/plugins/scheduler/bwswidget.h | 2 | ||||
| -rw-r--r-- | src/plugins/scheduler/ktschedulerplugin.kcfg | 4 |
6 files changed, 13 insertions, 13 deletions
diff --git a/src/plugins/ipfilter/antip2p.h b/src/plugins/ipfilter/antip2p.h index ce54c53..4c3cf7e 100644 --- a/src/plugins/ipfilter/antip2p.h +++ b/src/plugins/ipfilter/antip2p.h @@ -69,7 +69,7 @@ namespace kt /** * Checks if specified IP is listed in filter file. - * @return TRUE if IP should be blocked, FALSE otherwise + * @return true if IP should be blocked, false otherwise * @param ip TQString representation of IP to be checked **/ bool isBlockedIP(const TQString& ip); @@ -108,7 +108,7 @@ namespace kt /** * Binary searches AntiP2P::file to find IP. - * @returns TRUE if IP should be blocked FALSE otherwise + * @returns true if IP should be blocked false otherwise **/ bool searchFile(IPBlock* file_blocks, bt::Uint32& ip, int start, int end); diff --git a/src/plugins/ipfilter/ktipfilterplugin.kcfg b/src/plugins/ipfilter/ktipfilterplugin.kcfg index 18ab419..6130189 100644 --- a/src/plugins/ipfilter/ktipfilterplugin.kcfg +++ b/src/plugins/ipfilter/ktipfilterplugin.kcfg @@ -12,7 +12,7 @@ </entry> <entry name="useLevel1" type="Bool"> <label>Use level1 filter?</label> - <default>FALSE</default> + <default>false</default> </entry> </group> </kcfg> diff --git a/src/plugins/partfileimport/importdialog.h b/src/plugins/partfileimport/importdialog.h index c422da8..aab0438 100644 --- a/src/plugins/partfileimport/importdialog.h +++ b/src/plugins/partfileimport/importdialog.h @@ -49,7 +49,7 @@ namespace kt public: - ImportDialog(CoreInterface* core,TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + ImportDialog(CoreInterface* core,TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); virtual ~ImportDialog(); public slots: diff --git a/src/plugins/scanfolder/ktscanfolderplugin.kcfg b/src/plugins/scanfolder/ktscanfolderplugin.kcfg index f9b919f..98e8099 100644 --- a/src/plugins/scanfolder/ktscanfolderplugin.kcfg +++ b/src/plugins/scanfolder/ktscanfolderplugin.kcfg @@ -7,17 +7,17 @@ <group name="general"> <entry name="useFolder1" type="Bool"> <label>Enable scanning of folder1?</label> - <default>FALSE</default> + <default>false</default> </entry> <entry name="useFolder2" type="Bool"> <label>Enable scanning of folder2?</label> - <default>FALSE</default> + <default>false</default> </entry> <entry name="useFolder3" type="Bool"> <label>Enable scanning of folder3?</label> - <default>FALSE</default> + <default>false</default> </entry> <entry name="folder1" type="String"> @@ -37,17 +37,17 @@ <entry name="openSilently" type="Bool"> <label>Whether to open torrent silently or not.</label> - <default>FALSE</default> + <default>false</default> </entry> <entry name="actionDelete" type="Bool"> <label>Delete action checked.</label> - <default>FALSE</default> + <default>false</default> </entry> <entry name="actionMove" type="Bool"> <label>Move action checked.</label> - <default>FALSE</default> + <default>false</default> </entry> </group> </kcfg> diff --git a/src/plugins/scheduler/bwswidget.h b/src/plugins/scheduler/bwswidget.h index 9cb36ae..a6770aa 100644 --- a/src/plugins/scheduler/bwswidget.h +++ b/src/plugins/scheduler/bwswidget.h @@ -63,7 +63,7 @@ namespace kt /** * Sets cell paint type. - * @param color TRUE - paints colors. FALSE - paints pixmaps. + * @param color true - paints colors. false - paints pixmaps. */ void setType(bool color); diff --git a/src/plugins/scheduler/ktschedulerplugin.kcfg b/src/plugins/scheduler/ktschedulerplugin.kcfg index 7f752b3..aca172d 100644 --- a/src/plugins/scheduler/ktschedulerplugin.kcfg +++ b/src/plugins/scheduler/ktschedulerplugin.kcfg @@ -8,11 +8,11 @@ <group name="general"> <entry name="enableBWS" type="Bool"> <label>Enable bandwidth scheduler?</label> - <default>FALSE</default> + <default>false</default> </entry> <entry name="useColors" type="Bool"> <label>Use colors instead of pixmaps?</label> - <default>FALSE</default> + <default>false</default> </entry> </group> </kcfg> |
