summaryrefslogtreecommitdiffstats
path: root/sidebar/dndlistbox.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-30 19:26:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-02 16:39:04 +0900
commit9aa48be4546906fe3366cecd525375a249c2db6a (patch)
tree08cf628a7831c58d1c3a6b197511076d3b2f3029 /sidebar/dndlistbox.cpp
parent03e1920ea64298be079063179159f4ef04a59604 (diff)
downloadtde-style-baghira-9aa48be4.tar.gz
tde-style-baghira-9aa48be4.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c2e59c3ad44ec7b9f5aa8dcf781f0791b8baa5f0)
Diffstat (limited to 'sidebar/dndlistbox.cpp')
-rw-r--r--sidebar/dndlistbox.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/sidebar/dndlistbox.cpp b/sidebar/dndlistbox.cpp
index 83a471b..a2d0b92 100644
--- a/sidebar/dndlistbox.cpp
+++ b/sidebar/dndlistbox.cpp
@@ -56,14 +56,14 @@ void ResizingLinkBox::insertItem( const TQListBoxItem *lbi, int index )
{
TDEListBox::insertItem( lbi, index );
if (height() <= numRows()*itemHeight())
- emit itemNumberChanged(TRUE);
+ emit itemNumberChanged(true);
}
void ResizingLinkBox::insertItem( const TQListBoxItem *lbi, const TQListBoxItem *after )
{
TDEListBox::insertItem( lbi, after );
if (height() <= numRows()*itemHeight())
- emit itemNumberChanged(TRUE);
+ emit itemNumberChanged(true);
}
@@ -77,7 +77,7 @@ void ResizingLinkBox::removeItem( int index )
blockSignals ( true );
TDEListBox::removeItem(index);
blockSignals ( false );
- emit itemNumberChanged(FALSE);
+ emit itemNumberChanged(false);
}
void ResizingLinkBox::setIconSize(int size)
@@ -143,13 +143,13 @@ MediaListBox::MediaListBox( TQWidget * parent, const char * name, WFlags f ) : R
popupMenu->insertItem(i18n("Device List"), devicePopup, 1, 0);
popupMenu->insertSeparator( 0 );
- insertItem(new ListBoxDevice("system", size_, i18n("My Computer"), "system:/", "", "", TRUE, FALSE, FALSE));
- insertItem(new ListBoxDevice("network", size_, i18n("Network"), "remote:/", "", "", TRUE, FALSE, FALSE));
- insertItem(new ListBoxDevice("hdd-mounted", size_, i18n("Startvolume"), TQDir::rootDirPath(), "", "", TRUE, FALSE, FALSE));
+ insertItem(new ListBoxDevice("system", size_, i18n("My Computer"), "system:/", "", "", true, false, false));
+ insertItem(new ListBoxDevice("network", size_, i18n("Network"), "remote:/", "", "", true, false, false));
+ insertItem(new ListBoxDevice("hdd-mounted", size_, i18n("Startvolume"), TQDir::rootDirPath(), "", "", true, false, false));
client = TDEApplication::dcopClient();
- client->connectDCOPSignal("kded", "mediamanager", "mediumAdded(TQString)", "BaghiraSidebarIface", "mediumAdded(TQString)", FALSE);
- client->connectDCOPSignal("kded", "mediamanager", "mediumRemoved(TQString)", "BaghiraSidebarIface", "mediumRemoved(const TQString)", FALSE);
- client->connectDCOPSignal("kded", "mediamanager", "mediumChanged(TQString)", "BaghiraSidebarIface", "mediumChanged(TQString)", FALSE);
+ client->connectDCOPSignal("kded", "mediamanager", "mediumAdded(TQString)", "BaghiraSidebarIface", "mediumAdded(TQString)", false);
+ client->connectDCOPSignal("kded", "mediamanager", "mediumRemoved(TQString)", "BaghiraSidebarIface", "mediumRemoved(const TQString)", false);
+ client->connectDCOPSignal("kded", "mediamanager", "mediumChanged(TQString)", "BaghiraSidebarIface", "mediumChanged(TQString)", false);
/* Get the media info - huhhh ;) */
TQByteArray data, replyData;
TQCString replyType;