summaryrefslogtreecommitdiffstats
path: root/kworldwatch
diff options
context:
space:
mode:
Diffstat (limited to 'kworldwatch')
-rw-r--r--kworldwatch/flow.cpp4
-rw-r--r--kworldwatch/flow.h2
-rw-r--r--kworldwatch/maploader.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/kworldwatch/flow.cpp b/kworldwatch/flow.cpp
index 3d7a0c0..a9bbffc 100644
--- a/kworldwatch/flow.cpp
+++ b/kworldwatch/flow.cpp
@@ -58,7 +58,7 @@ int SimpleFlow::heightForWidth( int w ) const
if ( cached_width != w ) {
//Not all C++ compilers support "mutable" yet:
SimpleFlow * mthis = (SimpleFlow*)this;
- int h = mthis->doLayout( TQRect(0,0,w,0), TRUE );
+ int h = mthis->doLayout( TQRect(0,0,w,0), true );
mthis->cached_hfw = h;
mthis->cached_width = w;
return h;
@@ -73,7 +73,7 @@ void SimpleFlow::addItem( TQLayoutItem *item)
bool SimpleFlow::hasHeightForWidth() const
{
- return TRUE;
+ return true;
}
TQSize SimpleFlow::sizeHint() const
diff --git a/kworldwatch/flow.h b/kworldwatch/flow.h
index 6eed52e..5657d30 100644
--- a/kworldwatch/flow.h
+++ b/kworldwatch/flow.h
@@ -46,7 +46,7 @@ protected:
void setGeometry( const TQRect& );
private:
- int doLayout( const TQRect&, bool testonly = FALSE );
+ int doLayout( const TQRect&, bool testonly = false );
TQPtrList<TQLayoutItem> list;
int cached_width;
int cached_hfw;
diff --git a/kworldwatch/maploader.cpp b/kworldwatch/maploader.cpp
index d5efd29..aadf0ad 100644
--- a/kworldwatch/maploader.cpp
+++ b/kworldwatch/maploader.cpp
@@ -130,7 +130,7 @@ TQBitmap MapLoader::darkMask(int width, int height)
t = time(NULL);
tmp = gmtime(&t);
jt = jtime(tmp);
- sunpos(jt,FALSE, &sunra, &sundec, &sunrv, &sunlong);
+ sunpos(jt,false, &sunra, &sundec, &sunrv, &sunlong);
int sec = tmp->tm_hour*60*60 + tmp->tm_min*60 + tmp->tm_sec;
int gmt_position = width * sec / 86400; // note: greenwich is in the middle!