From abb8cd68f820cfe0c96965136890a6bdd1093db5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:13:30 -0600 Subject: Rename old tq methods that no longer need a unique name --- src/ktechlab.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ktechlab.cpp') diff --git a/src/ktechlab.cpp b/src/ktechlab.cpp index 7910c78..ecbb255 100644 --- a/src/ktechlab.cpp +++ b/src/ktechlab.cpp @@ -105,7 +105,7 @@ void KTechlab::show() void KTechlab::load( const KURL & url ) { - if ( url.url().tqendsWith( ".ktechlab", false ) ) + if ( url.url().endsWith( ".ktechlab", false ) ) { // This is a ktechlab project; it has to be handled separetly from a // normal file. @@ -647,8 +647,8 @@ void KTechlab::saveProperties( KConfig *conf ) conf->setGroup("KateMDI"); int scnum = TQApplication::desktop()->screenNumber(parentWidget()); TQRect desk = TQApplication::desktop()->screenGeometry(scnum); - conf->deleteEntry( TQString::tqfromLatin1("Width %1").tqarg(desk.width()) ); - conf->deleteEntry( TQString::tqfromLatin1("Height %1").tqarg(desk.height()) ); + conf->deleteEntry( TQString::fromLatin1("Width %1").tqarg(desk.width()) ); + conf->deleteEntry( TQString::fromLatin1("Height %1").tqarg(desk.height()) ); conf->sync(); } -- cgit v1.2.3