summaryrefslogtreecommitdiffstats
path: root/src/gui/overlaywidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:51 -0600
commit2781e27b871150395a5a82e221684108641002b2 (patch)
tree57f4d7c01a48faef1a840fbe0de8f4ec1e5f606f /src/gui/overlaywidget.cpp
parent031454e56009d576589c28757f6c6fcf4884095e (diff)
downloadtellico-2781e27b871150395a5a82e221684108641002b2.tar.gz
tellico-2781e27b871150395a5a82e221684108641002b2.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 031454e56009d576589c28757f6c6fcf4884095e.
Diffstat (limited to 'src/gui/overlaywidget.cpp')
-rw-r--r--src/gui/overlaywidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/overlaywidget.cpp b/src/gui/overlaywidget.cpp
index 7116ba2..fd5c02b 100644
--- a/src/gui/overlaywidget.cpp
+++ b/src/gui/overlaywidget.cpp
@@ -13,7 +13,7 @@
#include "overlaywidget.h"
-#include <layout.h>
+#include <tqlayout.h>
using Tellico::GUI::OverlayWidget;
@@ -34,7 +34,7 @@ void OverlayWidget::setCorner(Corner corner_) {
}
void OverlayWidget::addWidget(TQWidget* widget_) {
- layout()->add(widget_);
+ tqlayout()->add(widget_);
adjustSize();
}
@@ -70,9 +70,9 @@ void OverlayWidget::reposition() {
}
// Position in the toplevelwidget's coordinates
- TQPoint pTopLevel = m_anchor->mapTo(topLevelWidget(), p);
+ TQPoint pTopLevel = m_anchor->mapTo(tqtopLevelWidget(), p);
// Position in the widget's parentWidget coordinates
- TQPoint pParent = parentWidget()->mapFrom(topLevelWidget(), pTopLevel);
+ TQPoint pParent = parentWidget()->mapFrom(tqtopLevelWidget(), pTopLevel);
// keep it on the screen
if(pParent.x() < 0) {
pParent.rx() = 0;