summaryrefslogtreecommitdiffstats
path: root/src/ktechlab.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:14 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:14 -0600
commitc1ef065782051db96cdfd32cf55be6408c2a9d22 (patch)
tree0bc3705b597f8c98b2b9992d22ab9620df50b877 /src/ktechlab.cpp
parentbab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f (diff)
downloadktechlab-c1ef065782051db96cdfd32cf55be6408c2a9d22.tar.gz
ktechlab-c1ef065782051db96cdfd32cf55be6408c2a9d22.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f.
Diffstat (limited to 'src/ktechlab.cpp')
-rw-r--r--src/ktechlab.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ktechlab.cpp b/src/ktechlab.cpp
index d73d77f..7910c78 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().endsWith( ".ktechlab", false ) )
+ if ( url.url().tqendsWith( ".ktechlab", false ) )
{
// This is a ktechlab project; it has to be handled separetly from a
// normal file.
@@ -293,9 +293,9 @@ void KTechlab::overlayToolBarScreenshot()
// 128 is a sanity check (widget can do strange things when being destroyed)
if ( toolsWidget && toolsWidget->height() <= 128 )
- grabRect |= toolsWidget->geometry();
+ grabRect |= toolsWidget->tqgeometry();
if ( debugWidget && debugWidget->height() <= 128 )
- grabRect |= debugWidget->geometry();
+ grabRect |= debugWidget->tqgeometry();
if ( !grabRect.isValid() )
return;
@@ -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::fromLatin1("Width %1").arg(desk.width()) );
- conf->deleteEntry( TQString::fromLatin1("Height %1").arg(desk.height()) );
+ conf->deleteEntry( TQString::tqfromLatin1("Width %1").tqarg(desk.width()) );
+ conf->deleteEntry( TQString::tqfromLatin1("Height %1").tqarg(desk.height()) );
conf->sync();
}