summaryrefslogtreecommitdiffstats
path: root/ksim/ksimview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:17 -0600
commit955e20356d63ed405198c8143617a8a0ca8bfc02 (patch)
tree9a9ab22c86d212a5655014ad752e96b04c0c86a9 /ksim/ksimview.cpp
parentbf280726d5d22f33d33e4f9e771220c725249407 (diff)
downloadtdeutils-955e20356d63ed405198c8143617a8a0ca8bfc02.tar.gz
tdeutils-955e20356d63ed405198c8143617a8a0ca8bfc02.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit bf280726d5d22f33d33e4f9e771220c725249407.
Diffstat (limited to 'ksim/ksimview.cpp')
-rw-r--r--ksim/ksimview.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/ksim/ksimview.cpp b/ksim/ksimview.cpp
index fc8e2cd..1e93816 100644
--- a/ksim/ksimview.cpp
+++ b/ksim/ksimview.cpp
@@ -49,7 +49,7 @@
#include <tqfile.h>
#include <tqbitmap.h>
#include <tqtimer.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqobjectlist.h>
#include <tqpainter.h>
#include <tqcursor.h>
@@ -183,8 +183,8 @@ KSim::Config *KSim::MainView::config() const
void KSim::MainView::makeDirs()
{
TQString homeDir = locateLocal("data", "ksim");
- TQString themeDir = homeDir + TQString::fromLatin1("/themes");
- TQString monitorDir = homeDir + TQString::fromLatin1("/monitors");
+ TQString themeDir = homeDir + TQString::tqfromLatin1("/themes");
+ TQString monitorDir = homeDir + TQString::tqfromLatin1("/monitors");
// return true if the dirs already exist
if (TQFile::exists(themeDir) && TQFile::exists(monitorDir))
@@ -217,7 +217,7 @@ void KSim::MainView::maskMainView()
!m_rightFrame->background()->mask() ||
!m_bottomFrame->background()->mask())
{
- topLevelWidget()->clearMask();
+ tqtopLevelWidget()->clearMask();
return;
}
@@ -226,16 +226,16 @@ void KSim::MainView::maskMainView()
TQBitmap rightPixmap(*m_rightFrame->background()->mask());
TQBitmap bottomPixmap(*m_bottomFrame->background()->mask());
- TQSize insideSize(m_pluginLayout->geometry().size());
+ TQSize insideSize(m_pluginLayout->tqgeometry().size());
// make a cleared bigrect where we can put our pixmap masks on
- TQBitmap bigBitmap(topLevelWidget()->size(), true);
+ TQBitmap bigBitmap(tqtopLevelWidget()->size(), true);
// better return if our bitmap is null so we can avoid crashes
if (bigBitmap.isNull())
return;
- TQPoint ofs = mapTo(topLevelWidget(), TQPoint(0,0));
+ TQPoint ofs = mapTo(tqtopLevelWidget(), TQPoint(0,0));
int ofsX = ofs.x();
int ofsY = ofs.y();
@@ -243,7 +243,7 @@ void KSim::MainView::maskMainView()
painter.begin(&bigBitmap);
painter.setBrush(color1);
painter.setPen(color1);
- TQRect rect = m_pluginLayout->geometry();
+ TQRect rect = m_pluginLayout->tqgeometry();
rect.moveBy(ofsX, ofsY);
painter.drawRect(rect);
painter.drawPixmap(ofsX, ofsY, topPixmap);
@@ -254,7 +254,7 @@ void KSim::MainView::maskMainView()
bottomPixmap);
painter.end();
- topLevelWidget()->setMask(bigBitmap);
+ tqtopLevelWidget()->setMask(bigBitmap);
}
void KSim::MainView::reparseConfig(bool emitReload,
@@ -430,7 +430,7 @@ void KSim::MainView::destroyPref()
}
}
-TQSize KSim::MainView::sizeHint(KPanelExtension::Position p, TQSize) const
+TQSize KSim::MainView::tqsizeHint(KPanelExtension::Position p, TQSize) const
{
int width = 0;
int height = 0;
@@ -439,7 +439,7 @@ TQSize KSim::MainView::sizeHint(KPanelExtension::Position p, TQSize) const
for( TQLayoutIterator it = m_pluginLayout->iterator();
(child = it.current()) != 0; ++it)
{
- TQSize sz = child->minimumSize();
+ TQSize sz = child->tqminimumSize();
if ((p == KPanelExtension::Right) || (p == KPanelExtension::Left))
{
width = TQMAX(width, sz.width());