summaryrefslogtreecommitdiffstats
path: root/ksim/ksimview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:35:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:35:27 -0600
commitbcc684e28ad6f9ebeeae5d334a4dc297cef3e816 (patch)
tree07fafab2b93966c9e2128ba52337a43d388d300c /ksim/ksimview.cpp
parent955e20356d63ed405198c8143617a8a0ca8bfc02 (diff)
downloadtdeutils-bcc684e28ad6f9ebeeae5d334a4dc297cef3e816.tar.gz
tdeutils-bcc684e28ad6f9ebeeae5d334a4dc297cef3e816.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'ksim/ksimview.cpp')
-rw-r--r--ksim/ksimview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/ksim/ksimview.cpp b/ksim/ksimview.cpp
index 1e93816..af53876 100644
--- a/ksim/ksimview.cpp
+++ b/ksim/ksimview.cpp
@@ -183,8 +183,8 @@ KSim::Config *KSim::MainView::config() const
void KSim::MainView::makeDirs()
{
TQString homeDir = locateLocal("data", "ksim");
- TQString themeDir = homeDir + TQString::tqfromLatin1("/themes");
- TQString monitorDir = homeDir + TQString::tqfromLatin1("/monitors");
+ TQString themeDir = homeDir + TQString::fromLatin1("/themes");
+ TQString monitorDir = homeDir + TQString::fromLatin1("/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())
{
- tqtopLevelWidget()->clearMask();
+ topLevelWidget()->clearMask();
return;
}
@@ -229,13 +229,13 @@ void KSim::MainView::maskMainView()
TQSize insideSize(m_pluginLayout->tqgeometry().size());
// make a cleared bigrect where we can put our pixmap masks on
- TQBitmap bigBitmap(tqtopLevelWidget()->size(), true);
+ TQBitmap bigBitmap(topLevelWidget()->size(), true);
// better return if our bitmap is null so we can avoid crashes
if (bigBitmap.isNull())
return;
- TQPoint ofs = mapTo(tqtopLevelWidget(), TQPoint(0,0));
+ TQPoint ofs = mapTo(topLevelWidget(), TQPoint(0,0));
int ofsX = ofs.x();
int ofsY = ofs.y();
@@ -254,7 +254,7 @@ void KSim::MainView::maskMainView()
bottomPixmap);
painter.end();
- tqtopLevelWidget()->setMask(bigBitmap);
+ topLevelWidget()->setMask(bigBitmap);
}
void KSim::MainView::reparseConfig(bool emitReload,
@@ -430,7 +430,7 @@ void KSim::MainView::destroyPref()
}
}
-TQSize KSim::MainView::tqsizeHint(KPanelExtension::Position p, TQSize) const
+TQSize KSim::MainView::sizeHint(KPanelExtension::Position p, TQSize) const
{
int width = 0;
int height = 0;
@@ -439,7 +439,7 @@ TQSize KSim::MainView::tqsizeHint(KPanelExtension::Position p, TQSize) const
for( TQLayoutIterator it = m_pluginLayout->iterator();
(child = it.current()) != 0; ++it)
{
- TQSize sz = child->tqminimumSize();
+ TQSize sz = child->minimumSize();
if ((p == KPanelExtension::Right) || (p == KPanelExtension::Left))
{
width = TQMAX(width, sz.width());