summaryrefslogtreecommitdiffstats
path: root/src/ktechlab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ktechlab.cpp')
-rw-r--r--src/ktechlab.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ktechlab.cpp b/src/ktechlab.cpp
index ecbb255..d73d77f 100644
--- a/src/ktechlab.cpp
+++ b/src/ktechlab.cpp
@@ -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->tqgeometry();
+ grabRect |= toolsWidget->geometry();
if ( debugWidget && debugWidget->height() <= 128 )
- grabRect |= debugWidget->tqgeometry();
+ grabRect |= debugWidget->geometry();
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").tqarg(desk.width()) );
- conf->deleteEntry( TQString::fromLatin1("Height %1").tqarg(desk.height()) );
+ conf->deleteEntry( TQString::fromLatin1("Width %1").arg(desk.width()) );
+ conf->deleteEntry( TQString::fromLatin1("Height %1").arg(desk.height()) );
conf->sync();
}