summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-20 00:31:37 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-04 02:12:11 +0200
commita876c4b60cd4eac78cae83900064a2c7655d9d59 (patch)
tree4948e9d334ffda5432d6289d196c02da49cfcccf
parentef2d3102afee0a0a50a9b33561b7f88c71cb6960 (diff)
downloadtdetoys-a876c4b60cd4eac78cae83900064a2c7655d9d59.tar.gz
tdetoys-a876c4b60cd4eac78cae83900064a2c7655d9d59.zip
Fix FTBFS
(cherry picked from commit aef0e36bd7c3b47f0bfad74964346b3fb0911e67)
-rw-r--r--kweather/serviceconfigdata.ui3
-rw-r--r--kworldwatch/flow.cpp2
-rw-r--r--kworldwatch/flow.h2
3 files changed, 5 insertions, 2 deletions
diff --git a/kweather/serviceconfigdata.ui b/kweather/serviceconfigdata.ui
index 9aac188..befdca2 100644
--- a/kweather/serviceconfigdata.ui
+++ b/kweather/serviceconfigdata.ui
@@ -229,6 +229,9 @@
<slot>selectionChanged(TQListViewItem*)</slot>
</connection>
</connections>
+<forwards>
+ <forward>class TQListViewItem;</forward>
+</forwards>
<tabstops>
<tabstop>mAllStations</tabstop>
<tabstop>mSelectedStations</tabstop>
diff --git a/kworldwatch/flow.cpp b/kworldwatch/flow.cpp
index c511919..056f5aa 100644
--- a/kworldwatch/flow.cpp
+++ b/kworldwatch/flow.cpp
@@ -66,7 +66,7 @@ int SimpleFlow::heightForWidth( int w ) const
return cached_hfw;
}
-void SimpleFlow::addItem( QLayoutItem *item)
+void SimpleFlow::addItem( TQLayoutItem *item)
{
list.append( TQT_TQLAYOUTITEM(item) );
}
diff --git a/kworldwatch/flow.h b/kworldwatch/flow.h
index 91b5b79..e09a9a5 100644
--- a/kworldwatch/flow.h
+++ b/kworldwatch/flow.h
@@ -34,7 +34,7 @@ public:
~SimpleFlow();
- void addItem( QLayoutItem *item);
+ void addItem( TQLayoutItem *item);
bool hasHeightForWidth() const;
int heightForWidth( int ) const;
TQSize tqsizeHint() const;