summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-26 21:01:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 09:17:17 +0900
commit7c88ce5e7fd9df1bfa86e0494733c3950539a4f4 (patch)
tree63bb07caa84a74c7e67a58e63cf35fe01a04509b
parent6f523b5682b418dc00aa58c66a9689e078712ff7 (diff)
downloadkaffeine-7c88ce5e.tar.gz
kaffeine-7c88ce5e.zip
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a9b497f0114541d2288b6333b8bec2450ba680f2)
-rw-r--r--kaffeine/src/input/audiobrowser/googlefetcherdialog.cpp2
-rw-r--r--kaffeine/src/input/disc/cddb.cpp4
-rw-r--r--kaffeine/src/input/dvb/dvbpanel.cpp4
-rw-r--r--kaffeine/src/input/dvb/kevents.cpp4
-rw-r--r--kaffeine/src/player-parts/xine-part/xine_part.cpp6
5 files changed, 10 insertions, 10 deletions
diff --git a/kaffeine/src/input/audiobrowser/googlefetcherdialog.cpp b/kaffeine/src/input/audiobrowser/googlefetcherdialog.cpp
index 38561a1..18fd591 100644
--- a/kaffeine/src/input/audiobrowser/googlefetcherdialog.cpp
+++ b/kaffeine/src/input/audiobrowser/googlefetcherdialog.cpp
@@ -57,7 +57,7 @@ GoogleFetcherDialog::GoogleFetcherDialog(const TQString &name,
m_iconWidget->setMode(TDEIconView::Execute);
m_iconWidget->setFixedSize(500,550);
m_iconWidget->arrangeItemsInGrid();
- m_iconWidget->setItemsMovable(FALSE);
+ m_iconWidget->setItemsMovable(false);
TQHBox *imgSize = new TQHBox(actionButton(User1)->parentWidget());
//TQLabel *label = new TQLabel(imgSize);
diff --git a/kaffeine/src/input/disc/cddb.cpp b/kaffeine/src/input/disc/cddb.cpp
index ccd8007..b82481e 100644
--- a/kaffeine/src/input/disc/cddb.cpp
+++ b/kaffeine/src/input/disc/cddb.cpp
@@ -320,8 +320,8 @@ void CDDB::add_cddb_dirs(const TQStringList& list)
}
/* Locates and opens the local file corresponding to that discid.
- Returns TRUE, if file is found and ready for reading.
- Returns FALSE, if file isn't found. In this case ret_file is initialized
+ Returns true, if file is found and ready for reading.
+ Returns false, if file isn't found. In this case ret_file is initialized
with a TQFile which resides in the first cddb_dir, and has a temp name
(the ID + getpid()). You can open it for writing. */
bool CDDB::searchLocal(unsigned int id, TQFile *ret_file)
diff --git a/kaffeine/src/input/dvb/dvbpanel.cpp b/kaffeine/src/input/dvb/dvbpanel.cpp
index 5c5bfdb..d686ecd 100644
--- a/kaffeine/src/input/dvb/dvbpanel.cpp
+++ b/kaffeine/src/input/dvb/dvbpanel.cpp
@@ -2135,10 +2135,10 @@ bool DvbPanel::getChannelList()
int order = sort>>1;
switch (order){
case 1:
- channelsCb->setSorting ( column, FALSE );
+ channelsCb->setSorting ( column, false );
break;
case 0:
- channelsCb->setSorting ( column, TRUE );
+ channelsCb->setSorting ( column, true );
break;
}
}
diff --git a/kaffeine/src/input/dvb/kevents.cpp b/kaffeine/src/input/dvb/kevents.cpp
index 86bbcd0..dd9857c 100644
--- a/kaffeine/src/input/dvb/kevents.cpp
+++ b/kaffeine/src/input/dvb/kevents.cpp
@@ -124,8 +124,8 @@ KEvents::KEvents( TQPtrList<ChannelDesc> *chans, TQPtrList<DvbStream> *d, EventT
listView->addColumn( i18n( "Duration" ) );
listView->addColumn( i18n( "Title" ) );
listView->setResizePolicy( TDEListView::AutoOneFit );
- listView->setAllColumnsShowFocus( TRUE );
- listView->setFullWidth( TRUE );
+ listView->setAllColumnsShowFocus( true );
+ listView->setFullWidth( true );
grid->addWidget( listView, 1, 0 );
grid->setRowStretch( 1, 4 );
diff --git a/kaffeine/src/player-parts/xine-part/xine_part.cpp b/kaffeine/src/player-parts/xine-part/xine_part.cpp
index 044aaf2..9af4369 100644
--- a/kaffeine/src/player-parts/xine-part/xine_part.cpp
+++ b/kaffeine/src/player-parts/xine-part/xine_part.cpp
@@ -2090,7 +2090,7 @@ void VolumeSlider::wheelEvent(TQWheelEvent* e)
TQRect r = sliderRect();
if( r.contains( e->pos() ) || e->button() != LeftButton )
- return FALSE;
+ return false;
int range = maxValue() - minValue();
int pos = (orientation() == Horizontal) ? e->pos().x() : e->pos().y();
@@ -2101,11 +2101,11 @@ void VolumeSlider::wheelEvent(TQWheelEvent* e)
value = maxValue() - (value - minValue());
setValue(value);
- return TRUE;
+ return true;
}
else
{
- return FALSE;
+ return false;
}
}*/