[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/graphics/kipi-plugins/slideshow
From: Andi Clemens <andi.clemens () gmx ! net>
Date: 2008-10-28 8:32:45
Message-ID: 1225182765.763201.18670.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 876829 by aclemens:
the TRUE and FALSE macros are obsolete and should be replaced by the lower case \
versions
M +14 -14 maindialog.cpp
M +4 -4 slideshow.cpp
M +4 -4 slideshowgl.cpp
--- trunk/extragear/graphics/kipi-plugins/slideshow/maindialog.cpp #876828:876829
@@ -116,8 +116,8 @@
// Host application images has comments
if ( ! m_sharedData->ImagesHasComments )
{
- m_printCommentsCheckBox->setEnabled(FALSE);
- m_printCommentsCheckBox->setChecked(FALSE);
+ m_printCommentsCheckBox->setEnabled(false);
+ m_printCommentsCheckBox->setChecked(false);
}
// -----------------------
@@ -559,10 +559,10 @@
urlList = m_sharedData->interface->currentSelection().images();
- m_ImagesFilesButtonAdd->setEnabled(FALSE);
- m_ImagesFilesButtonDelete->setEnabled(FALSE);
- m_ImagesFilesButtonUp->setEnabled(FALSE);
- m_ImagesFilesButtonDown->setEnabled(FALSE);
+ m_ImagesFilesButtonAdd->setEnabled(false);
+ m_ImagesFilesButtonDelete->setEnabled(false);
+ m_ImagesFilesButtonUp->setEnabled(false);
+ m_ImagesFilesButtonDown->setEnabled(false);
}
else
if (m_allFilesButton->isChecked())
@@ -580,21 +580,21 @@
if (currentPath.isParentOf((*it).path()) && !((*it).path() == \
currentPath)) urlList += (*it).images();
- m_ImagesFilesButtonAdd->setEnabled(FALSE);
+ m_ImagesFilesButtonAdd->setEnabled(false);
- m_ImagesFilesButtonDelete->setEnabled(FALSE);
+ m_ImagesFilesButtonDelete->setEnabled(false);
- m_ImagesFilesButtonUp->setEnabled(FALSE);
+ m_ImagesFilesButtonUp->setEnabled(false);
- m_ImagesFilesButtonDown->setEnabled(FALSE);
+ m_ImagesFilesButtonDown->setEnabled(false);
}
if ( m_customButton->isChecked() ) // Custom selected
{
- m_ImagesFilesButtonAdd->setEnabled(TRUE);
- m_ImagesFilesButtonDelete->setEnabled(TRUE);
- m_ImagesFilesButtonUp->setEnabled(TRUE);
- m_ImagesFilesButtonDown->setEnabled(TRUE);
+ m_ImagesFilesButtonAdd->setEnabled(true);
+ m_ImagesFilesButtonDelete->setEnabled(true);
+ m_ImagesFilesButtonUp->setEnabled(true);
+ m_ImagesFilesButtonDown->setEnabled(true);
}
else
{
--- trunk/extragear/graphics/kipi-plugins/slideshow/slideshow.cpp #876828:876829
@@ -462,7 +462,7 @@
while (commentsIndex < (uint) comments.length())
{
QString newLine;
- bool breakLine = FALSE; // End Of Line found
+ bool breakLine = false; // End Of Line found
uint currIndex; // Comments QString current index
// Check minimal lines dimension
@@ -470,18 +470,18 @@
uint commentsLinesLengthLocal = m_sharedData->commentsLinesLength;
for ( currIndex = commentsIndex; currIndex < (uint) comments.length() && \
!breakLine; currIndex++ )
- if ( comments[currIndex] == QChar('\n') || comments[currIndex].isSpace() \
) breakLine = TRUE; + if ( comments[currIndex] == QChar('\n') || \
comments[currIndex].isSpace() ) breakLine = true;
if (commentsLinesLengthLocal <= (currIndex - commentsIndex))
commentsLinesLengthLocal = (currIndex - commentsIndex);
- breakLine = FALSE;
+ breakLine = false;
for ( currIndex = commentsIndex; currIndex <= commentsIndex + \
commentsLinesLengthLocal && currIndex < (uint) comments.length() &&
!breakLine; currIndex++ )
{
- breakLine = (comments[currIndex] == QChar('\n')) ? TRUE : FALSE;
+ breakLine = (comments[currIndex] == QChar('\n')) ? true : false;
if (breakLine)
newLine.append( ' ' );
--- trunk/extragear/graphics/kipi-plugins/slideshow/slideshowgl.cpp #876828:876829
@@ -642,7 +642,7 @@
while (commentsIndex < (uint) comments.length())
{
QString newLine;
- bool breakLine = FALSE; // End Of Line found
+ bool breakLine = false; // End Of Line found
uint currIndex; // Comments QString current index
// Check miminal lines dimension
@@ -650,18 +650,18 @@
int commentsLinesLengthLocal = m_sharedData->commentsLinesLength;
for ( currIndex = commentsIndex; currIndex < (uint) comments.length() && \
!breakLine; currIndex++ )
- if ( comments[currIndex] == QChar('\n') || comments[currIndex].isSpace() \
) breakLine = TRUE; + if ( comments[currIndex] == QChar('\n') || \
comments[currIndex].isSpace() ) breakLine = true;
if (commentsLinesLengthLocal <= (int)((currIndex - commentsIndex)))
commentsLinesLengthLocal = (currIndex - commentsIndex);
- breakLine = FALSE;
+ breakLine = false;
for ( currIndex = commentsIndex; currIndex <= commentsIndex + \
commentsLinesLengthLocal && currIndex < (uint) comments.length() &&
!breakLine; currIndex++ )
{
- breakLine = (comments[currIndex] == QChar('\n')) ? TRUE : FALSE;
+ breakLine = (comments[currIndex] == QChar('\n')) ? true : false;
if (breakLine)
newLine.append( ' ' );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic