Replace TRUE/FALSE with boolean values true/false

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/356/head
Michele Calgaro 2 months ago
parent bedc43ef09
commit ad58630b34
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -53,7 +53,7 @@ public:
Constructor that creates browser for domain list. This does not use global Constructor that creates browser for domain list. This does not use global
configuration at all. configuration at all.
@param domains List of domains @param domains List of domains
@param recursive TRUE - additionally local network will be browsed for more domains @param recursive true - additionally local network will be browsed for more domains
@param parent Parent object. @param parent Parent object.
This process is recursive. This process is recursive.
*/ */

@ -202,7 +202,7 @@ bool PublicService::fillEntryGroup()
avahi_string_list_free(s); avahi_string_list_free(s);
return res; return res;
#else #else
return FALSE; return false;
#endif #endif
} }

@ -57,12 +57,12 @@ public:
virtual void startQuery(); virtual void startQuery();
/** /**
Returns TRUE if query is already running Returns true if query is already running
*/ */
bool isRunning() const; bool isRunning() const;
/** /**
Returns TRUE if all currently announced services has Returns true if all currently announced services has
been reported. It does not mean that no more services can been reported. It does not mean that no more services can
be found later and it is not related to isRunning() be found later and it is not related to isRunning()
*/ */

@ -75,7 +75,7 @@ public:
/** /**
Synchronous version of resolveAsync(). Note that resolved(bool) is emitted Synchronous version of resolveAsync(). Note that resolved(bool) is emitted
before this function returns, before this function returns,
@return TRUE is successful @return true is successful
*/ */
bool resolve(); bool resolve();
@ -86,7 +86,7 @@ public:
signals: signals:
/** /**
Emitted when resolving is complete. Parameter is set to TRUE if it was successful. Emitted when resolving is complete. Parameter is set to true if it was successful.
If operating in asynchronous mode this signal can be emitted several times (when If operating in asynchronous mode this signal can be emitted several times (when
service change) service change)
*/ */

@ -712,7 +712,7 @@ KeyValueMap::get(const TQCString& key, bool& value) const
bool GUARD; GUARD=false; bool GUARD; GUARD=false;
// ########################################################################### // ###########################################################################
kdDebug(GUARD, KAB_KDEBUG_AREA) << "KeyValueMap::get[bool]: trying to get " kdDebug(GUARD, KAB_KDEBUG_AREA) << "KeyValueMap::get[bool]: trying to get "
"BOOL value for key " << key << endl; "bool value for key " << key << endl;
TQCString v; TQCString v;
// ----- get string representation: // ----- get string representation:
if(!get(key, v)) if(!get(key, v))

@ -1140,7 +1140,7 @@ KateHlContext::KateHlContext (const TQString &_hlId, int attribute, int lineEndC
dynamic = _dynamic; dynamic = _dynamic;
dynamicChild = false; dynamicChild = false;
noIndentationBasedFolding=_noIndentationBasedFolding; noIndentationBasedFolding=_noIndentationBasedFolding;
if (_noIndentationBasedFolding) kdDebug(13010)<<TQString("**********************_noIndentationBasedFolding is TRUE*****************")<<endl; if (_noIndentationBasedFolding) kdDebug(13010)<<TQString("**********************_noIndentationBasedFolding is true*****************")<<endl;
} }

@ -30,13 +30,6 @@
#include "midispec.h" #include "midispec.h"
#include "midfile.h" #include "midfile.h"
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#define T2MS(ticks) (((double)ticks)*(double)60000L)/((double)tempoToMetronomeTempo(tempo)*(double)tPCN) #define T2MS(ticks) (((double)ticks)*(double)60000L)/((double)tempoToMetronomeTempo(tempo)*(double)tPCN)
#define MS2T(ms) (((ms)*(double)tempoToMetronomeTempo(tempo)*(double)tPCN)/((double)60000L)) #define MS2T(ms) (((ms)*(double)tempoToMetronomeTempo(tempo)*(double)tPCN)/((double)60000L))
@ -235,9 +228,9 @@ void MidiTrack::readEvent(MidiEvent *ev)
ev->note = *ptrdata;ptrdata++;currentpos++; ev->note = *ptrdata;ptrdata++;currentpos++;
ev->vel = *ptrdata;ptrdata++;currentpos++; ev->vel = *ptrdata;ptrdata++;currentpos++;
if (ev->vel==0) if (ev->vel==0)
note[ev->chn][ev->note]=FALSE; note[ev->chn][ev->note]=false;
else else
note[ev->chn][ev->note]=TRUE; note[ev->chn][ev->note]=true;
#ifdef TRACKDEBUG2 #ifdef TRACKDEBUG2
if (ev->chn==6) { if (ev->chn==6) {
@ -252,7 +245,7 @@ void MidiTrack::readEvent(MidiEvent *ev)
#endif #endif
ev->note = *ptrdata;ptrdata++;currentpos++; ev->note = *ptrdata;ptrdata++;currentpos++;
ev->vel = *ptrdata;ptrdata++;currentpos++; ev->vel = *ptrdata;ptrdata++;currentpos++;
note[ev->chn][ev->note]=FALSE; note[ev->chn][ev->note]=false;
break; break;
case (MIDI_KEY_PRESSURE) : case (MIDI_KEY_PRESSURE) :
@ -334,7 +327,7 @@ void MidiTrack::readEvent(MidiEvent *ev)
case (ME_END_OF_TRACK) : case (ME_END_OF_TRACK) :
i=0; i=0;
j=0; j=0;
while ((i<16)&&(note[i][j]==FALSE)) while ((i<16)&&(note[i][j]==false))
{ {
j++; j++;
if (j==128) { j=0; i++; }; if (j==128) { j=0; i++; };
@ -346,7 +339,7 @@ void MidiTrack::readEvent(MidiEvent *ev)
ev->command=MIDI_NOTEOFF; ev->command=MIDI_NOTEOFF;
ev->note = j; ev->note = j;
ev->vel = 0; ev->vel = 0;
note[ev->chn][ev->note]=FALSE; note[ev->chn][ev->note]=false;
fprintf(stderr,"Note Off(simulated)\n"); fprintf(stderr,"Note Off(simulated)\n");
return; return;
} }
@ -504,7 +497,7 @@ void MidiTrack::clear(void)
for (int i=0;i<16;i++) for (int i=0;i<16;i++)
for (int j=0;j<128;j++) for (int j=0;j<128;j++)
note[i][j]=FALSE; note[i][j]=false;
delta_ticks = wait_ticks = ~0; delta_ticks = wait_ticks = ~0;
time_at_previous_tempochange=0; time_at_previous_tempochange=0;
@ -526,7 +519,7 @@ void MidiTrack::init(void)
for (int i=0;i<16;i++) for (int i=0;i<16;i++)
for (int j=0;j<128;j++) for (int j=0;j<128;j++)
note[i][j]=FALSE; note[i][j]=false;
delta_ticks=readVariableLengthValue(); delta_ticks=readVariableLengthValue();
if (endoftrack) return; if (endoftrack) return;

@ -34,7 +34,7 @@
#include "tdescreensaver.h" #include "tdescreensaver.h"
#include "tdescreensaver_vroot.h" #include "tdescreensaver_vroot.h"
bool argb_visual = FALSE; bool argb_visual = false;
extern "C" extern "C"
{ {

@ -130,7 +130,7 @@ static TQString join( const TDEABC::LdapAttrValue& lst, const TQString& sep )
for ( TDEABC::LdapAttrValue::ConstIterator it = lst.begin(); it != lst.end(); ++it ) { for ( TDEABC::LdapAttrValue::ConstIterator it = lst.begin(); it != lst.end(); ++it ) {
if ( already ) if ( already )
res += sep; res += sep;
already = TRUE; already = true;
res += asUtf8( *it ); res += asUtf8( *it );
} }
return res; return res;

@ -626,7 +626,7 @@ asymbol** bfdLoadSymtab (bfd *abfd) {
long symCount; // count of entries in symbol table long symCount; // count of entries in symbol table
long symtab_sz; // size of the table long symtab_sz; // size of the table
asymbol** rv; asymbol** rv;
bfd_boolean dynamic = FALSE; bool dynamic = false;
// make shure the file has symbol table // make shure the file has symbol table
if ((bfd_get_file_flags (abfd) & HAS_SYMS) == 0){ if ((bfd_get_file_flags (abfd) & HAS_SYMS) == 0){
@ -637,7 +637,7 @@ asymbol** bfdLoadSymtab (bfd *abfd) {
symtab_sz = bfd_get_symtab_upper_bound (abfd); symtab_sz = bfd_get_symtab_upper_bound (abfd);
if (symtab_sz == 0) { if (symtab_sz == 0) {
symtab_sz = bfd_get_dynamic_symtab_upper_bound (abfd); symtab_sz = bfd_get_dynamic_symtab_upper_bound (abfd);
dynamic = TRUE; dynamic = true;
} }
if (symtab_sz < 0) { if (symtab_sz < 0) {
return 0; return 0;

@ -846,13 +846,13 @@ TDEIconEffect::visualActivate(TQWidget * widget, TQRect rect, TQPixmap *pixmap)
if ((widget->rect().width() <= maxRect.width()) if ((widget->rect().width() <= maxRect.width())
|| (widget->rect().height() <= maxRect.height())) || (widget->rect().height() <= maxRect.height()))
{ {
// p = new TQPainter(TQApplication::desktop()->screen( -1 ), TRUE); // WARNING: This was done in Qt3. It only worked in this placement due to a glitch in Qt3; it has therefore been moved below grabWidget, where it should have been in the first place. // p = new TQPainter(TQApplication::desktop()->screen( -1 ), true); // WARNING: This was done in Qt3. It only worked in this placement due to a glitch in Qt3; it has therefore been moved below grabWidget, where it should have been in the first place.
pix = TQPixmap::grabWindow((TQApplication::desktop()->screen( -1 ))->winId(), pix = TQPixmap::grabWindow((TQApplication::desktop()->screen( -1 ))->winId(),
maxRect.x(), maxRect.x(),
maxRect.y(), maxRect.y(),
maxRect.width(), maxRect.width(),
maxRect.height()); maxRect.height());
p = new TQPainter(TQApplication::desktop()->screen( -1 ), TRUE); p = new TQPainter(TQApplication::desktop()->screen( -1 ), true);
} else } else
{ {
// not as ugly as drawing directly to the screen // not as ugly as drawing directly to the screen

@ -101,8 +101,8 @@ class TDECORE_EXPORT TDEInstance
/** /**
* Set a read-only flag on the configuration files * Set a read-only flag on the configuration files
* This must be called before config() or dirs() to have any effect * This must be called before config() or dirs() to have any effect
* Defaults to FALSE * Defaults to false
* @param ro read only if TRUE * @param ro read only if true
*/ */
void setConfigReadOnly(bool ro); void setConfigReadOnly(bool ro);

@ -280,7 +280,7 @@ public:
* On error the socket will be closed. * On error the socket will be closed.
* @param suppressFailureMessages suppress warning messages generated if the socket cannot be opened. * @param suppressFailureMessages suppress warning messages generated if the socket cannot be opened.
* @return true on success. false on error. * @return true on success. false on error.
* @warning If suppressFailureMessages is TRUE future debugging may be made more difficult. Only set it * @warning If suppressFailureMessages is true future debugging may be made more difficult. Only set it
* if your application expects to bind to unavailable ports, e.g. while scanning for open ports in a range. * if your application expects to bind to unavailable ports, e.g. while scanning for open ports in a range.
*/ */
bool bindAndListen(bool suppressFailureMessages = false); bool bindAndListen(bool suppressFailureMessages = false);

@ -118,7 +118,7 @@ int main(int argc, char **argv)
TDECmdLineArgs::addCmdLineOptions( options ); // Add my own options. TDECmdLineArgs::addCmdLineOptions( options ); // Add my own options.
TDEInstance a("tde-config"); TDEInstance a("tde-config");
a.setConfigReadOnly(TRUE); a.setConfigReadOnly(true);
(void)TDEGlobal::dirs(); // trigger the creation (void)TDEGlobal::dirs(); // trigger the creation
(void)TDEGlobal::config(); (void)TDEGlobal::config();

@ -626,7 +626,7 @@ int TDEAccelString::maxWeight(int &index, const TQString &used)
index = -1; index = -1;
for (uint pos=0; pos<m_pureText.length(); ++pos) for (uint pos=0; pos<m_pureText.length(); ++pos)
if (used.find(m_pureText[pos], 0, FALSE) == -1 && m_pureText[pos].latin1() != 0) if (used.find(m_pureText[pos], 0, false) == -1 && m_pureText[pos].latin1() != 0)
if (m_weight[pos] > max) if (m_weight[pos] > max)
{ {
max = m_weight[pos]; max = m_weight[pos];

@ -2524,7 +2524,7 @@ void TDEApplication::tdedisplaySetPalette()
{ {
TDEConfig *config = TDEGlobal::config(); TDEConfig *config = TDEGlobal::config();
TDEConfigGroupSaver saver( config, "General" ); TDEConfigGroupSaver saver( config, "General" );
bool do_not_set_palette = FALSE; bool do_not_set_palette = false;
if(config->readBoolEntry("nopaletteChange", &do_not_set_palette)) if(config->readBoolEntry("nopaletteChange", &do_not_set_palette))
return; return;
} }

@ -962,7 +962,7 @@ public:
* Note that calling this method will probably cause the screen to flicker. * Note that calling this method will probably cause the screen to flicker.
* @see isCompositionManagerAvailable() * @see isCompositionManagerAvailable()
* @param force_available If set, force TDE to assume a composition manager is available * @param force_available If set, force TDE to assume a composition manager is available
* @param available Whether or not the composition manager is available (only used if force_available is TRUE) * @param available Whether or not the composition manager is available (only used if force_available is true)
* @return whether the composition manager is enabled * @return whether the composition manager is enabled
*/ */
bool detectCompositionManagerAvailable(bool force_available=false, bool available=true); bool detectCompositionManagerAvailable(bool force_available=false, bool available=true);

@ -268,7 +268,7 @@ void MD5_verify( const char *input, const char *digest, bool isFile )
cout << "Calculated Digest = " << context.hexDigest() << endl; cout << "Calculated Digest = " << context.hexDigest() << endl;
cout << "Supplied Digest = " << digest << endl; cout << "Supplied Digest = " << digest << endl;
cout << "Matches: " << (result ? "TRUE":"FALSE") << endl; cout << "Matches: " << (result ? "true":"false") << endl;
} }
void MD5_file (const char *filename, bool rawOutput ) void MD5_file (const char *filename, bool rawOutput )

@ -103,7 +103,7 @@ main(int argc, char *argv[])
TDESocketAddress* addr = KExtendedSocket::peerAddress( sock2->fd() ); TDESocketAddress* addr = KExtendedSocket::peerAddress( sock2->fd() );
check( "peerAddress:", addr->nodeName().latin1(), "213.203.58.36" ); check( "peerAddress:", addr->nodeName().latin1(), "213.203.58.36" );
check( "isEqual:", addr->isEqual(KInetSocketAddress("213.203.58.36", 80)) ? "TRUE" : "FALSE", "TRUE"); check( "isEqual:", addr->isEqual(KInetSocketAddress("213.203.58.36", 80)) ? "true" : "false", "true");
check( "isEqual:", addr->isEqual(KInetSocketAddress("213.203.58.36", 8080)) ? "TRUE" : "FALSE", "FALSE"); check( "isEqual:", addr->isEqual(KInetSocketAddress("213.203.58.36", 8080)) ? "true" : "false", "false");
check( "isEqual:", addr->isCoreEqual(KInetSocketAddress("213.203.58.36", 8080)) ? "TRUE" : "FALSE", "TRUE"); check( "isEqual:", addr->isCoreEqual(KInetSocketAddress("213.203.58.36", 8080)) ? "true" : "false", "true");
} }

@ -88,25 +88,25 @@ int main(int argc, char *argv[])
KURL::List lst; KURL::List lst;
KURL emptyURL; KURL emptyURL;
check( "KURL::isMalformed()", emptyURL.isMalformed() ? "TRUE":"FALSE", "TRUE"); check( "KURL::isMalformed()", emptyURL.isMalformed() ? "true":"false", "true");
check( "KURL::isValid()", emptyURL.isValid() ? "TRUE":"FALSE", "FALSE"); check( "KURL::isValid()", emptyURL.isValid() ? "true":"false", "false");
check( "KURL::isEmpty()", emptyURL.isEmpty() ? "TRUE":"FALSE", "TRUE"); check( "KURL::isEmpty()", emptyURL.isEmpty() ? "true":"false", "true");
check( "prettyURL()", emptyURL.prettyURL(), ""); check( "prettyURL()", emptyURL.prettyURL(), "");
check( "isLocalFile()", emptyURL.isLocalFile()?"TRUE":"FALSE", "FALSE" ); check( "isLocalFile()", emptyURL.isLocalFile()?"true":"false", "false" );
emptyURL = ""; emptyURL = "";
check( "KURL::isMalformed()", emptyURL.isMalformed() ? "TRUE":"FALSE", "TRUE"); check( "KURL::isMalformed()", emptyURL.isMalformed() ? "true":"false", "true");
check( "KURL::isValid()", emptyURL.isValid() ? "TRUE":"FALSE", "FALSE"); check( "KURL::isValid()", emptyURL.isValid() ? "true":"false", "false");
check( "KURL::isEmpty()", emptyURL.isEmpty() ? "TRUE":"FALSE", "TRUE"); check( "KURL::isEmpty()", emptyURL.isEmpty() ? "true":"false", "true");
KURL fileURL = "file:/"; KURL fileURL = "file:/";
check( "KURL::isEmpty()", fileURL.isEmpty() ? "TRUE":"FALSE", "FALSE"); check( "KURL::isEmpty()", fileURL.isEmpty() ? "true":"false", "false");
fileURL = "file:///"; fileURL = "file:///";
check( "KURL::isEmpty()", fileURL.isEmpty() ? "TRUE":"FALSE", "FALSE"); check( "KURL::isEmpty()", fileURL.isEmpty() ? "true":"false", "false");
KURL baseURL ("hTTp://www.foo.bar:80" ); KURL baseURL ("hTTp://www.foo.bar:80" );
check( "KURL::isValid()", baseURL.isValid() ? "TRUE":"FALSE", "TRUE"); check( "KURL::isValid()", baseURL.isValid() ? "true":"false", "true");
check( "KURL::protocol()", baseURL.protocol(), "http"); // lowercase check( "KURL::protocol()", baseURL.protocol(), "http"); // lowercase
KURL url1 ( baseURL, "//www1.foo.bar" ); KURL url1 ( baseURL, "//www1.foo.bar" );
check( "KURL::host()", url1.host(), "www1.foo.bar"); check( "KURL::host()", url1.host(), "www1.foo.bar");
@ -184,13 +184,13 @@ int main(int argc, char *argv[])
check("KURL::upURL()", url1.upURL().url(), "file:///home/dfaure/"); check("KURL::upURL()", url1.upURL().url(), "file:///home/dfaure/");
url1 = "gg:www.kde.org"; url1 = "gg:www.kde.org";
check("KURL::isValid()", url1.isValid()?"TRUE":"FALSE", "TRUE" ); check("KURL::isValid()", url1.isValid()?"true":"false", "true" );
url1= "KDE"; url1= "KDE";
check("KURL::isValid()", url1.isValid()?"TRUE":"FALSE", "FALSE" ); check("KURL::isValid()", url1.isValid()?"true":"false", "false" );
url1= "$HOME/.trinity/share/config"; url1= "$HOME/.trinity/share/config";
check("KURL::isValid()", url1.isValid()?"TRUE":"FALSE", "FALSE" ); check("KURL::isValid()", url1.isValid()?"true":"false", "false" );
u1 = "file:/opt/kde2/qt2/doc/html/showimg-main-cpp.html#TQObject::connect"; u1 = "file:/opt/kde2/qt2/doc/html/showimg-main-cpp.html#TQObject::connect";
url1 = u1; url1 = u1;
@ -1115,9 +1115,9 @@ int main(int argc, char *argv[])
KURL emptyUserTest1("http://www.foobar.com/"); KURL emptyUserTest1("http://www.foobar.com/");
KURL emptyUserTest2("http://www.foobar.com/"); KURL emptyUserTest2("http://www.foobar.com/");
emptyUserTest2.setUser(""); emptyUserTest2.setUser("");
check("Empty vs. null fields: user", emptyUserTest1==emptyUserTest2?"TRUE":"FALSE","TRUE"); check("Empty vs. null fields: user", emptyUserTest1==emptyUserTest2?"true":"false","true");
emptyUserTest2.setPass(""); emptyUserTest2.setPass("");
check("Empty vs. null fields: password", emptyUserTest1==emptyUserTest2?"TRUE":"FALSE","TRUE"); check("Empty vs. null fields: password", emptyUserTest1==emptyUserTest2?"true":"false","true");
printf("\nTest OK !\n"); printf("\nTest OK !\n");
} }

@ -150,14 +150,14 @@ AutoStart::loadAutoStartList()
// Same local file name? // Same local file name?
TQString localOuter; TQString localOuter;
TQString localInner; TQString localInner;
int slashPos = (*it).findRev( '/', -1, TRUE ); int slashPos = (*it).findRev( '/', -1, true );
if (slashPos == -1) { if (slashPos == -1) {
localOuter = (*it); localOuter = (*it);
} }
else { else {
localOuter = (*it).mid(slashPos+1); localOuter = (*it).mid(slashPos+1);
} }
slashPos = (*localit).findRev( '/', -1, TRUE ); slashPos = (*localit).findRev( '/', -1, true );
if (slashPos == -1) { if (slashPos == -1) {
localInner = (*localit); localInner = (*localit);
} }

@ -596,7 +596,7 @@ UIServer::UIServer()
// setup toolbar // setup toolbar
toolBar()->insertButton("edit-delete", TOOL_CANCEL, toolBar()->insertButton("edit-delete", TOOL_CANCEL,
TQ_SIGNAL(clicked()), this, TQ_SIGNAL(clicked()), this,
TQ_SLOT(slotCancelCurrent()), FALSE, i18n("Cancel")); TQ_SLOT(slotCancelCurrent()), false, i18n("Cancel"));
toolBar()->insertButton("configure", TOOL_CONFIGURE, toolBar()->insertButton("configure", TOOL_CONFIGURE,
TQ_SIGNAL(clicked()), this, TQ_SIGNAL(clicked()), this,
TQ_SLOT(slotConfigure()), true, i18n("Settings...")); TQ_SLOT(slotConfigure()), true, i18n("Settings..."));
@ -1135,11 +1135,11 @@ void UIServer::slotSelection() {
for ( ; it.current(); ++it ) { for ( ; it.current(); ++it ) {
if ( it.current()->isSelected() ) { if ( it.current()->isSelected() ) {
toolBar()->setItemEnabled( TOOL_CANCEL, TRUE); toolBar()->setItemEnabled( TOOL_CANCEL, true);
return; return;
} }
} }
toolBar()->setItemEnabled( TOOL_CANCEL, FALSE); toolBar()->setItemEnabled( TOOL_CANCEL, false);
} }
// This code is deprecated, slaves go to Observer::openPassDlg now, // This code is deprecated, slaves go to Observer::openPassDlg now,

@ -232,16 +232,16 @@ static struct EmbedImage {
bool alpha; bool alpha;
const char *name; const char *name;
} embed_image_vec[] = { } embed_image_vec[] = {
{ 16, 16, 32, (const unsigned char*)group_grey_data, 0, 0, TRUE, "group-grey" }, { 16, 16, 32, (const unsigned char*)group_grey_data, 0, 0, true, "group-grey" },
{ 16, 16, 32, (const unsigned char*)group_data, 0, 0, TRUE, "group" }, { 16, 16, 32, (const unsigned char*)group_data, 0, 0, true, "group" },
{ 16, 16, 32, (const unsigned char*)mask_data, 0, 0, TRUE, "mask" }, { 16, 16, 32, (const unsigned char*)mask_data, 0, 0, true, "mask" },
{ 16, 16, 32, (const unsigned char*)others_grey_data, 0, 0, TRUE, "others-grey" }, { 16, 16, 32, (const unsigned char*)others_grey_data, 0, 0, true, "others-grey" },
{ 16, 16, 32, (const unsigned char*)others_data, 0, 0, TRUE, "others" }, { 16, 16, 32, (const unsigned char*)others_data, 0, 0, true, "others" },
{ 16, 16, 32, (const unsigned char*)user_green_data, 0, 0, TRUE, "user-green" }, { 16, 16, 32, (const unsigned char*)user_green_data, 0, 0, true, "user-green" },
{ 16, 16, 32, (const unsigned char*)user_grey_data, 0, 0, TRUE, "user-grey" }, { 16, 16, 32, (const unsigned char*)user_grey_data, 0, 0, true, "user-grey" },
{ 16, 16, 32, (const unsigned char*)user_data, 0, 0, TRUE, "user" }, { 16, 16, 32, (const unsigned char*)user_data, 0, 0, true, "user" },
{ 16, 16, 32, (const unsigned char*)yes_data, 0, 0, TRUE, "yes" }, { 16, 16, 32, (const unsigned char*)yes_data, 0, 0, true, "yes" },
{ 16, 16, 32, (const unsigned char*)yespartial_data, 0, 0, TRUE, "yespartial" }, { 16, 16, 32, (const unsigned char*)yespartial_data, 0, 0, true, "yespartial" },
{ 0, 0, 0, 0, 0, 0, 0, 0 } { 0, 0, 0, 0, 0, 0, 0, 0 }
}; };
@ -260,7 +260,7 @@ static const TQImage& qembed_findImage( const TQString& name )
embed_image_vec[i].numColors, embed_image_vec[i].numColors,
TQImage::BigEndian ); TQImage::BigEndian );
if ( embed_image_vec[i].alpha ) if ( embed_image_vec[i].alpha )
img->setAlphaBuffer( TRUE ); img->setAlphaBuffer( true );
dict.insert( name, img ); dict.insert( name, img );
break; break;
} }

@ -187,7 +187,7 @@ protected:
* *
* As elementary atoms of the constraint language, TDETrader supports * As elementary atoms of the constraint language, TDETrader supports
* booleans, integers, floats and strings. Boolean literals are * booleans, integers, floats and strings. Boolean literals are
* @a TRUE and @a FALSE . Integers can be positive or negative, * @a true and @a false . Integers can be positive or negative,
* i.e. @a 42 and @a -10 are legal values. Floating point * i.e. @a 42 and @a -10 are legal values. Floating point
* numbers are @a 3.141592535 or @a -999.999 . Scientific notation * numbers are @a 3.141592535 or @a -999.999 . Scientific notation
* like @a 1.5e-2 is not supported. Character literals are delimited * like @a 1.5e-2 is not supported. Character literals are delimited
@ -254,7 +254,7 @@ protected:
* - <tt>()</tt> * - <tt>()</tt>
* *
* The tilde operator stands for a substring match. For example, * The tilde operator stands for a substring match. For example,
* <tt>KParts ~ 'KParts/ReadOnlyPart'</tt> is TRUE. The membership * <tt>KParts ~ 'KParts/ReadOnlyPart'</tt> is true. The membership
* operator <tt>in</tt> tests whether a value is in a list. A list is a * operator <tt>in</tt> tests whether a value is in a list. A list is a
* string with semi-colon- or comma-separated entries, depending on the * string with semi-colon- or comma-separated entries, depending on the
* type. An example for the membership operator is * type. An example for the membership operator is

@ -638,7 +638,7 @@ void FileProtocol::copy( const KURL &src, const KURL &dest,
return; return;
} }
// If the destination is a symlink and overwrite is TRUE, // If the destination is a symlink and overwrite is true,
// remove the symlink first to prevent the scenario where // remove the symlink first to prevent the scenario where
// the symlink actually points to current source! // the symlink actually points to current source!
if (_overwrite && S_ISLNK(buff_dest.st_mode)) if (_overwrite && S_ISLNK(buff_dest.st_mode))

@ -588,7 +588,7 @@ issue compared to what's above though.
(Torben) About the fact that konqy can embed a KReadWritePart (short KRWP): (Torben) About the fact that konqy can embed a KReadWritePart (short KRWP):
This is IMHO not a konqy problem but a KRWP design bug. KRWP overloads This is IMHO not a konqy problem but a KRWP design bug. KRWP overloads
KROP and changes the semantics (editing is possible). By default KRWP should KROP and changes the semantics (editing is possible). By default KRWP should
go into ReadOnly mode. Only if one calls rwpart->setEditable( TRUE ) it should go into ReadOnly mode. Only if one calls rwpart->setEditable( true ) it should
offer editing of the data. It may still happen that some KRWPs dont obeye the offer editing of the data. It may still happen that some KRWPs dont obeye the
"editable" flag, but that is a bug inside of the KRWP. "editable" flag, but that is a bug inside of the KRWP.

@ -249,10 +249,10 @@ int parseCompressedPpdFile(const char *ppdfilename, const char *origin, const ch
if (strlen(metadata) > 0) { if (strlen(metadata) > 0) {
TQString metadataProcessed(metadata); TQString metadataProcessed(metadata);
metadataProcessed = metadataProcessed.stripWhiteSpace(); metadataProcessed = metadataProcessed.stripWhiteSpace();
TQStringList metadataList = TQStringList::split(" ", metadataProcessed, TRUE); TQStringList metadataList = TQStringList::split(" ", metadataProcessed, true);
TQLocale ppdLanguage(metadataList[0]); TQLocale ppdLanguage(metadataList[0]);
TQString languageVersion = TQLocale::languageToString(ppdLanguage.language()); TQString languageVersion = TQLocale::languageToString(ppdLanguage.language());
metadataList = TQStringList::split("\" \"", metadataProcessed, TRUE); metadataList = TQStringList::split("\" \"", metadataProcessed, true);
TQString description = metadataList[1]; TQString description = metadataList[1];
int pos = metadataProcessed.find("MFG:"); int pos = metadataProcessed.find("MFG:");
@ -266,9 +266,9 @@ int parseCompressedPpdFile(const char *ppdfilename, const char *origin, const ch
TQString pnpManufacturer; TQString pnpManufacturer;
TQString pnpModel; TQString pnpModel;
TQString driver; TQString driver;
TQStringList metadataList = TQStringList::split(";", metadataProcessed.mid(pos), TRUE); TQStringList metadataList = TQStringList::split(";", metadataProcessed.mid(pos), true);
for (TQStringList::Iterator it = metadataList.begin(); it != metadataList.end(); ++it) { for (TQStringList::Iterator it = metadataList.begin(); it != metadataList.end(); ++it) {
TQStringList kvPair = TQStringList::split(":", *it, TRUE); TQStringList kvPair = TQStringList::split(":", *it, true);
if ((kvPair[0].upper() == "MFG") || (kvPair[0].upper() == "MANUFACTURER")) { if ((kvPair[0].upper() == "MFG") || (kvPair[0].upper() == "MANUFACTURER")) {
manufacturer = kvPair[1]; manufacturer = kvPair[1];
} }
@ -290,7 +290,7 @@ int parseCompressedPpdFile(const char *ppdfilename, const char *origin, const ch
modelName = modelName.stripWhiteSpace(); modelName = modelName.stripWhiteSpace();
driver = driver.stripWhiteSpace(); driver = driver.stripWhiteSpace();
TQStringList driverList = TQStringList::split(",", driver, TRUE); TQStringList driverList = TQStringList::split(",", driver, true);
driver = driverList[0]; driver = driverList[0];
if (driver.startsWith("D")) { if (driver.startsWith("D")) {
driver = driver.mid(1); driver = driver.mid(1);

@ -140,7 +140,7 @@ void SmbView::init()
while (!smb_stream.atEnd ()) while (!smb_stream.atEnd ())
{ {
TQString smb_line = smb_stream.readLine (); TQString smb_line = smb_stream.readLine ();
if (smb_line.contains (wins_keyword, FALSE) > 0) if (smb_line.contains (wins_keyword, false) > 0)
{ {
TQString key = smb_line.section ('=', 0, 0); TQString key = smb_line.section ('=', 0, 0);
key = key.stripWhiteSpace(); key = key.stripWhiteSpace();

@ -539,7 +539,7 @@ TQPoint KRandrSimpleAPI::applyDisplayConfiguration(TQString profilename, TQStrin
TQPtrList<SingleScreenData> screenInfoArray; TQPtrList<SingleScreenData> screenInfoArray;
screenInfoArray = loadDisplayConfiguration(profilename, kde_confdir); screenInfoArray = loadDisplayConfiguration(profilename, kde_confdir);
if (screenInfoArray.count() > 0) { if (screenInfoArray.count() > 0) {
applyDisplayConfiguration(screenInfoArray, FALSE, kde_confdir); applyDisplayConfiguration(screenInfoArray, false, kde_confdir);
} }
destroyScreenInformationObject(screenInfoArray); destroyScreenInformationObject(screenInfoArray);
screenInfoArray = readCurrentDisplayConfiguration(); screenInfoArray = readCurrentDisplayConfiguration();
@ -646,11 +646,11 @@ bool KRandrSimpleAPI::applyDisplayConfiguration(TQPtrList<SingleScreenData> scre
SingleScreenData *screendata; SingleScreenData *screendata;
TQPtrList<SingleScreenData> oldconfig; TQPtrList<SingleScreenData> oldconfig;
if (test == TRUE) { if (test) {
oldconfig = readCurrentDisplayConfiguration(); oldconfig = readCurrentDisplayConfiguration();
} }
if (isValid() == true) { if (isValid()) {
#ifdef USE_XRANDR_PROGRAM #ifdef USE_XRANDR_PROGRAM
// Assemble the command string for xrandr // Assemble the command string for xrandr
TQString command; TQString command;
@ -703,7 +703,7 @@ bool KRandrSimpleAPI::applyDisplayConfiguration(TQPtrList<SingleScreenData> scre
if(xrandr_command_output.startsWith("xrandr: Failed to get size of gamma for output")) { if(xrandr_command_output.startsWith("xrandr: Failed to get size of gamma for output")) {
KMessageBox::sorry(0, xrandr_command_output, i18n("Setting gamma failed.")); KMessageBox::sorry(0, xrandr_command_output, i18n("Setting gamma failed."));
} else if (xrandr_command_output != "") { } else if (xrandr_command_output != "") {
applyDisplayConfiguration(oldconfig, FALSE, kde_confdir); applyDisplayConfiguration(oldconfig, false, kde_confdir);
accepted = false; accepted = false;
destroyScreenInformationObject(oldconfig); destroyScreenInformationObject(oldconfig);
KMessageBox::sorry(0, xrandr_command_output, i18n("XRandR encountered a problem")); KMessageBox::sorry(0, xrandr_command_output, i18n("XRandR encountered a problem"));
@ -804,10 +804,10 @@ bool KRandrSimpleAPI::applyDisplayConfiguration(TQPtrList<SingleScreenData> scre
applySystemWideIccConfiguration(kde_confdir); applySystemWideIccConfiguration(kde_confdir);
applyIccConfiguration(current_icc_profile, kde_confdir); applyIccConfiguration(current_icc_profile, kde_confdir);
if (test == TRUE) { if (test) {
int ret = showTestConfigurationDialog(); int ret = showTestConfigurationDialog();
if (!ret) { if (!ret) {
applyDisplayConfiguration(oldconfig, FALSE, kde_confdir); applyDisplayConfiguration(oldconfig, false, kde_confdir);
accepted = false; accepted = false;
} }
destroyScreenInformationObject(oldconfig); destroyScreenInformationObject(oldconfig);

@ -253,7 +253,7 @@ class TDERANDR_EXPORT KRandrSimpleAPI : public RandRDisplay
* If test is true, the new configuration will be loaded for a short period of time, then reverted automatically * If test is true, the new configuration will be loaded for a short period of time, then reverted automatically
* Returns true if configuration was accepted; false if not * Returns true if configuration was accepted; false if not
*/ */
bool applyDisplayConfiguration(TQPtrList<SingleScreenData> screenInfoArray, bool test=TRUE, TQString kde_confdir=""); bool applyDisplayConfiguration(TQPtrList<SingleScreenData> screenInfoArray, bool test=true, TQString kde_confdir="");
/** /**
* Applies the gamma contained within the systemwide display configuration screenInfoArray to the hardware * Applies the gamma contained within the systemwide display configuration screenInfoArray to the hardware

@ -128,7 +128,7 @@ RsyncConfigDialog::RsyncConfigDialog(TQWidget* parent, const char* name,
// Create an exclusive button group // Create an exclusive button group
TQButtonGroup *layoutg = new TQButtonGroup( 1, TQt::Horizontal, i18n("Synchronization Method")+TQString(":"), mainWidget); TQButtonGroup *layoutg = new TQButtonGroup( 1, TQt::Horizontal, i18n("Synchronization Method")+TQString(":"), mainWidget);
layout->addWidget( layoutg ); layout->addWidget( layoutg );
layoutg->setExclusive( TRUE ); layoutg->setExclusive( true );
// Insert radiobuttons // Insert radiobuttons
rsync_rb1 = new TQRadioButton(i18n("&Utilize rsync + ssh for upload to remote server\nExample: servername:/path/to/remote/folder"), layoutg); 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); 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) if (syncmode == 1)
rsync_rb1->setChecked( TRUE ); rsync_rb1->setChecked( true );
else if (syncmode == 2) else if (syncmode == 2)
rsync_rb2->setChecked( TRUE ); rsync_rb2->setChecked( true );
else if (syncmode == 3) else if (syncmode == 3)
rsync_rb3->setChecked( TRUE ); rsync_rb3->setChecked( true );
//(void)new TQRadioButton( "R&adiobutton 2", layoutg ); //(void)new TQRadioButton( "R&adiobutton 2", layoutg );
//(void)new TQRadioButton( "Ra&diobutton 3", layoutg ); //(void)new TQRadioButton( "Ra&diobutton 3", layoutg );
@ -148,7 +148,7 @@ RsyncConfigDialog::RsyncConfigDialog(TQWidget* parent, const char* name,
// Create an exclusive button group // Create an exclusive button group
TQButtonGroup *layoutm = new TQButtonGroup( 1, TQt::Horizontal, i18n("Remote Folder")+TQString(":"), mainWidget); TQButtonGroup *layoutm = new TQButtonGroup( 1, TQt::Horizontal, i18n("Remote Folder")+TQString(":"), mainWidget);
layout->addWidget( layoutm ); layout->addWidget( layoutm );
layoutg->setExclusive( TRUE ); layoutg->setExclusive( true );
m_rsync_txt = new TQLineEdit(layoutm); m_rsync_txt = new TQLineEdit(layoutm);
if (remotefolder.isEmpty() == false) { if (remotefolder.isEmpty() == false) {
@ -158,7 +158,7 @@ RsyncConfigDialog::RsyncConfigDialog(TQWidget* parent, const char* name,
// Create an exclusive button group // Create an exclusive button group
TQButtonGroup *layouta = new TQButtonGroup( 1, TQt::Horizontal, i18n("Automatic Synchronization")+TQString(":"), mainWidget); TQButtonGroup *layouta = new TQButtonGroup( 1, TQt::Horizontal, i18n("Automatic Synchronization")+TQString(":"), mainWidget);
layout->addWidget( layouta ); layout->addWidget( layouta );
layouta->setExclusive( FALSE ); layouta->setExclusive( false );
m_sync_auto_logout_cb = new TQCheckBox(layouta); m_sync_auto_logout_cb = new TQCheckBox(layouta);
m_sync_auto_logout_cb->setText(i18n("Synchronize on logout")); m_sync_auto_logout_cb->setText(i18n("Synchronize on logout"));

@ -148,7 +148,7 @@ AsteroidStyle::applicationPolish(const TQStyleControlElementData&, ControlElemen
TQPalette wp = TQApplication::palette(); TQPalette wp = TQApplication::palette();
wp.setColor(TQColorGroup::Dark, TQColor(128, 128, 128)); wp.setColor(TQColorGroup::Dark, TQColor(128, 128, 128));
wp.setColor(TQColorGroup::Mid, wp.active().color(TQColorGroup::Button).dark(150)); // Which GUI element(s) does this correspond to? wp.setColor(TQColorGroup::Mid, wp.active().color(TQColorGroup::Button).dark(150)); // Which GUI element(s) does this correspond to?
TQApplication::setPalette( wp, TRUE ); TQApplication::setPalette( wp, true );
} }
/*! \reimp /*! \reimp
@ -1015,8 +1015,7 @@ void AsteroidStyle::drawControl(ControlElement ce,
const TQTab * t = o.tab(); const TQTab * t = o.tab();
bool selected = sf & Style_Selected; bool selected = sf & Style_Selected;
bool lastTab = (ceData.tabBarData.identIndexMap[t->identifier()] == ceData.tabBarData.tabCount-1) ? bool lastTab = (ceData.tabBarData.identIndexMap[t->identifier()] == ceData.tabBarData.tabCount-1);
TRUE : FALSE;
TQRect r2( r ); TQRect r2( r );
if ( ceData.tabBarData.shape == TQTabBar::RoundedAbove ) { if ( ceData.tabBarData.shape == TQTabBar::RoundedAbove ) {
p->setPen( cg.light() ); p->setPen( cg.light() );
@ -1875,8 +1874,8 @@ void AsteroidStyle::drawComplexControl(ComplexControl cc,
if ( !verticalLine ) { if ( !verticalLine ) {
// make 128*1 and 1*128 bitmaps that can be used for // make 128*1 and 1*128 bitmaps that can be used for
// drawing the right sort of lines. // drawing the right sort of lines.
verticalLine = new TQBitmap( 1, 129, TRUE ); verticalLine = new TQBitmap( 1, 129, true );
horizontalLine = new TQBitmap( 128, 1, TRUE ); horizontalLine = new TQBitmap( 128, 1, true );
TQPointArray a( 64 ); TQPointArray a( 64 );
TQPainter p; TQPainter p;
p.begin( verticalLine ); p.begin( verticalLine );

@ -462,7 +462,7 @@ void KSMModalDialog::keepMeOnTop()
if (!m_keepOnTopTimer) { if (!m_keepOnTopTimer) {
m_keepOnTopTimer = new TQTimer(); m_keepOnTopTimer = new TQTimer();
connect(m_keepOnTopTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(keepMeOnTop())); connect(m_keepOnTopTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(keepMeOnTop()));
m_keepOnTopTimer->start(100, FALSE); m_keepOnTopTimer->start(100, false);
} }
setActiveWindow(); setActiveWindow();
raise(); raise();

@ -144,7 +144,7 @@ public:
*/ */
TQString current() const; TQString current() const;
/** /**
* Returns TRUE if the combobox contains id. * Returns true if the combobox contains id.
*/ */
bool contains( const TQString & id ) const; bool contains( const TQString & id ) const;
/** /**

@ -94,7 +94,7 @@ void KPassivePopup::init( int popupStyle )
else if( popupStyle == Balloon ) else if( popupStyle == Balloon )
{ {
setPalette(TQToolTip::palette()); setPalette(TQToolTip::palette());
setAutoMask(TRUE); setAutoMask(true);
} }
connect( hideTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( hide() ) ); connect( hideTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( hide() ) );
connect( this, TQ_SIGNAL( clicked() ), TQ_SLOT( hide() ) ); connect( this, TQ_SIGNAL( clicked() ), TQ_SLOT( hide() ) );

@ -218,7 +218,7 @@ bool KPixmapRegionSelectorWidget::eventFilter(TQObject *obj, TQEvent *ev)
TDEPopupMenu *popup = createPopupMenu( ); TDEPopupMenu *popup = createPopupMenu( );
popup->exec( mev->globalPos() ); popup->exec( mev->globalPos() );
delete popup; delete popup;
return TRUE; return true;
}; };
TQCursor cursor; TQCursor cursor;
@ -239,7 +239,7 @@ bool KPixmapRegionSelectorWidget::eventFilter(TQObject *obj, TQEvent *ev)
m_tempFirstClick=mev->pos(); m_tempFirstClick=mev->pos();
return TRUE; return true;
} }
if ( ev->type() == TQEvent::MouseMove ) if ( ev->type() == TQEvent::MouseMove )
@ -278,7 +278,7 @@ bool KPixmapRegionSelectorWidget::eventFilter(TQObject *obj, TQEvent *ev)
m_selectedRegion.moveBy(0,m_originalPixmap.height()-m_selectedRegion.height()-m_selectedRegion.y()); m_selectedRegion.moveBy(0,m_originalPixmap.height()-m_selectedRegion.height()-m_selectedRegion.y());
mouseOutside=true; mouseOutside=true;
} }
if (mouseOutside) { updatePixmap(); return TRUE; }; if (mouseOutside) { updatePixmap(); return true; };
m_selectedRegion.moveBy( mev->x()-m_tempFirstClick.x(), m_selectedRegion.moveBy( mev->x()-m_tempFirstClick.x(),
mev->y()-m_tempFirstClick.y() ); mev->y()-m_tempFirstClick.y() );
@ -297,7 +297,7 @@ bool KPixmapRegionSelectorWidget::eventFilter(TQObject *obj, TQEvent *ev)
m_tempFirstClick=mev->pos(); m_tempFirstClick=mev->pos();
updatePixmap(); updatePixmap();
} }
return TRUE; return true;
} }
if ( ev->type() == TQEvent::MouseButtonRelease ) if ( ev->type() == TQEvent::MouseButtonRelease )
@ -310,11 +310,11 @@ bool KPixmapRegionSelectorWidget::eventFilter(TQObject *obj, TQEvent *ev)
m_state=None; m_state=None;
TQApplication::restoreOverrideCursor(); TQApplication::restoreOverrideCursor();
return TRUE; return true;
} }
TQWidget::eventFilter(obj, ev); TQWidget::eventFilter(obj, ev);
return FALSE; return false;
} }
TQRect KPixmapRegionSelectorWidget::calcSelectionRectangle( const TQPoint & startPoint, const TQPoint & _endPoint ) TQRect KPixmapRegionSelectorWidget::calcSelectionRectangle( const TQPoint & startPoint, const TQPoint & _endPoint )

@ -86,7 +86,7 @@ bool KWhatsThisUndefined::clicked (const TQString& href)
"\n--%-----------------------------------------------------------------------"); "\n--%-----------------------------------------------------------------------");
tdeApp -> invokeMailer ("quality-whatsthis@kde.org", "", "", subj, body); tdeApp -> invokeMailer ("quality-whatsthis@kde.org", "", "", subj, body);
} }
return TRUE; return true;
} }
void KWhatsThisManager::init () void KWhatsThisManager::init ()

@ -2569,7 +2569,7 @@ void TDEListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column
} }
/*! /*!
If \a select is TRUE, all the items get selected; otherwise all If \a select is true, all the items get selected; otherwise all
the items get unselected. This only works in the selection modes \c the items get unselected. This only works in the selection modes \c
Multi and \c Extended. In \c Single and \c NoSelection mode the Multi and \c Extended. In \c Single and \c NoSelection mode the
selection of the current item is just set to \a select. selection of the current item is just set to \a select.
@ -2579,25 +2579,19 @@ void TDEListView::selectAll( bool select )
{ {
if ( ((SelectionModeExt)selectionMode() == Multi) || ((SelectionModeExt)selectionMode() == Extended) ) { if ( ((SelectionModeExt)selectionMode() == Multi) || ((SelectionModeExt)selectionMode() == Extended) ) {
bool b = signalsBlocked(); bool b = signalsBlocked();
blockSignals( TRUE ); blockSignals( true );
bool anything = FALSE; bool anything = false;
TQListViewItemIterator it( this ); TQListViewItemIterator it( this );
while ( it.current() ) { while ( it.current() ) {
TQListViewItem *i = it.current(); TQListViewItem *i = it.current();
if ( select == TRUE ) { if ( select ) {
if ( (bool)i->isVisible() == TRUE ) { i->setSelected( i->isVisible() );
i->setSelected( TRUE ); anything = true;
anything = TRUE;
}
if ( (bool)i->isVisible() == FALSE ) {
i->setSelected( FALSE );
anything = TRUE;
}
} }
else { else {
if ( (bool)i->isSelected() != select ) { if ( i->isSelected() != select ) {
i->setSelected( select ); i->setSelected( select );
anything = TRUE; anything = true;
} }
} }
++it; ++it;
@ -2605,7 +2599,7 @@ void TDEListView::selectAll( bool select )
blockSignals( b ); blockSignals( b );
if ( anything ) { if ( anything ) {
emit selectionChanged(); emit selectionChanged();
// d->useDoubleBuffer = TRUE; // d->useDoubleBuffer = true;
triggerUpdate(); triggerUpdate();
} }
} else if ( currentItem() ) { } else if ( currentItem() ) {

@ -435,15 +435,15 @@ public:
bool shadeSortColumn(void) const; bool shadeSortColumn(void) const;
/** /**
* @param enable TRUE if small execute area should be used (e.g. KonqListViewItem), FALSE if not. * @param enable true if small execute area should be used (e.g. KonqListViewItem), false if not.
* The default is FALSE to match TQt behaviour. * The default is false to match TQt behaviour.
* *
* @since 14.0 * @since 14.0
*/ */
void setUseSmallExecuteArea(bool enable); void setUseSmallExecuteArea(bool enable);
/** /**
* @return TRUE if small execute area is in use, FALSE if not. * @return true if small execute area is in use, false if not.
* *
* @since 14.0 * @since 14.0
*/ */

Loading…
Cancel
Save