diff --git a/plugins/gui-quickbar/buttonflowlayout.cpp b/plugins/gui-quickbar/buttonflowlayout.cpp index 950e519..0b49564 100644 --- a/plugins/gui-quickbar/buttonflowlayout.cpp +++ b/plugins/gui-quickbar/buttonflowlayout.cpp @@ -96,7 +96,7 @@ int ButtonFlowLayout::heightForWidth( int w ) const void ButtonFlowLayout::addItem( TQLayoutItem *item) { - list.append( TQT_TQLAYOUTITEM(item) ); + list.append( item ); } bool ButtonFlowLayout::hasHeightForWidth() const diff --git a/src/stationlist.cpp b/src/stationlist.cpp index 6f05f9d..6dc8643 100644 --- a/src/stationlist.cpp +++ b/src/stationlist.cpp @@ -387,7 +387,7 @@ bool StationList::readXML (const KURL &url, const IErrorLogClient &logger, bool } // preset file written with tderadio >= 0.3.0 else { - TQXmlInputSource tmp(TQT_TQIODEVICE(&presetFile)); + TQXmlInputSource tmp(&presetFile); xmlData = tmp.data(); }