From c6fee889e9a4a644560804c7226c5fd6eb475e48 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 21 Nov 2011 16:28:25 -0600 Subject: Fix FTBFS --- kdevdesigner/designer/actioneditorimpl.h | 2 ++ kdevdesigner/designer/outputwindow.cpp | 2 +- kdevdesigner/designer/propertyeditor.cpp | 8 ++++---- 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'kdevdesigner/designer') diff --git a/kdevdesigner/designer/actioneditorimpl.h b/kdevdesigner/designer/actioneditorimpl.h index 248c9e24..a3c804bf 100644 --- a/kdevdesigner/designer/actioneditorimpl.h +++ b/kdevdesigner/designer/actioneditorimpl.h @@ -27,6 +27,8 @@ #ifndef ACTIONEDITORIMPL_H #define ACTIONEDITORIMPL_H +#include + #include "actioneditor.h" class TQAction; diff --git a/kdevdesigner/designer/outputwindow.cpp b/kdevdesigner/designer/outputwindow.cpp index ad1cab22..33113ef5 100644 --- a/kdevdesigner/designer/outputwindow.cpp +++ b/kdevdesigner/designer/outputwindow.cpp @@ -97,7 +97,7 @@ static void debugMessageOutput( TQtMsgType type, const char *msg ) TQString s( msg ); s += "\n"; - if ( type != QtFatalMsg ) { + if ( type != TQtFatalMsg ) { if ( debugoutput && debugoutput->isVisible() ) debugoutput->append( s ); else if ( OutputWindow::oldMsgHandler && OutputWindow::oldMsgHandler != debugMessageOutput ) diff --git a/kdevdesigner/designer/propertyeditor.cpp b/kdevdesigner/designer/propertyeditor.cpp index 402c1117..01a2bb9f 100644 --- a/kdevdesigner/designer/propertyeditor.cpp +++ b/kdevdesigner/designer/propertyeditor.cpp @@ -2982,9 +2982,9 @@ static TQVariant::Type type_to_variant( const TQString &s ) if ( s == "Palette" ) return TQVariant::Palette; if ( s == "ColorGroup" ) - return (QVariant::Type)TQVariant::ColorGroup; + return TQVariant::ColorGroup; if ( s == "IconSet" ) - return (QVariant::Type)TQVariant::IconSet; + return TQVariant::IconSet; if ( s == "Point" ) return TQVariant::Point; if ( s == "Image" ) @@ -2998,9 +2998,9 @@ static TQVariant::Type type_to_variant( const TQString &s ) if ( s == "Double" ) return TQVariant::Double; if ( s == "CString" ) - return (QVariant::Type)TQVariant::CString; + return TQVariant::CString; if ( s == "PointArray" ) - return (QVariant::Type)TQVariant::PointArray; + return TQVariant::PointArray; if ( s == "Region" ) return TQVariant::Region; if ( s == "Bitmap" ) -- cgit v1.2.3