diff options
Diffstat (limited to 'kate/part/kateprinter.cpp')
-rw-r--r-- | kate/part/kateprinter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kate/part/kateprinter.cpp b/kate/part/kateprinter.cpp index b6847dcc5..925c99e1a 100644 --- a/kate/part/kateprinter.cpp +++ b/kate/part/kateprinter.cpp @@ -48,7 +48,7 @@ #include <tqgroupbox.h> #include <tqhbox.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.h> #include <tqlineedit.h> #include <tqspinbox.h> #include <tqstringlist.h> @@ -184,7 +184,7 @@ bool KatePrinter::print (KateDocument *doc) // This retrieves all tags, ued or not, but // none of theese operations should be expensive, // and searcing each tag in the format strings is avoided. - TQDateTime dt = TQDateTime::currentDateTime(); + TQDateTime dt = TQDateTime::tqcurrentDateTime(); TQMap<TQString,TQString> tags; KUser u (KUser::UseRealUserID); @@ -505,7 +505,7 @@ bool KatePrinter::print (KateDocument *doc) // use color of dsNormal for the title string and the hline KateAttributeList _dsList; KateHlManager::self()->getDefaults ( renderer.config()->schema(), _dsList ); - paint.setPen( _dsList.at(0)->textColor() ); + paint.setPen( _dsList.tqat(0)->textColor() ); int _marg = 0; // this could be available globally!?? if ( useBox ) { |