summaryrefslogtreecommitdiffstats
path: root/kicker/applets/systemtray
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:25 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:25 -0600
commit2c01fd64ddde84a6d78b632f7f3b7c3560dc288c (patch)
tree65f4f4370cf4269757d7fa4d0f4d15996a1bf68f /kicker/applets/systemtray
parent73c08b592db45af554b9f21029bc549d70f683ab (diff)
downloadtdebase-2c01fd64ddde84a6d78b632f7f3b7c3560dc288c.tar.gz
tdebase-2c01fd64ddde84a6d78b632f7f3b7c3560dc288c.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 73c08b592db45af554b9f21029bc549d70f683ab.
Diffstat (limited to 'kicker/applets/systemtray')
-rw-r--r--kicker/applets/systemtray/systemtrayapplet.cpp20
-rw-r--r--kicker/applets/systemtray/systemtrayapplet.h2
2 files changed, 11 insertions, 11 deletions
diff --git a/kicker/applets/systemtray/systemtrayapplet.cpp b/kicker/applets/systemtray/systemtrayapplet.cpp
index 3303135b3..570db2f92 100644
--- a/kicker/applets/systemtray/systemtrayapplet.cpp
+++ b/kicker/applets/systemtray/systemtrayapplet.cpp
@@ -388,7 +388,7 @@ void SystemTrayApplet::checkAutoRetract()
return;
}
- if (!geometry().contains(mapFromGlobal(TQCursor::pos())))
+ if (!tqgeometry().contains(mapFromGlobal(TQCursor::pos())))
{
m_autoRetractTimer->stop();
if (m_autoRetract)
@@ -427,12 +427,12 @@ void SystemTrayApplet::showExpandButton(bool show)
if (orientation() == Qt::Vertical)
{
m_expandButton->setFixedSize(width() - 4,
- m_expandButton->sizeHint()
+ m_expandButton->tqsizeHint()
.height());
}
else
{
- m_expandButton->setFixedSize(m_expandButton->sizeHint()
+ m_expandButton->setFixedSize(m_expandButton->tqsizeHint()
.width(),
height() - 4);
}
@@ -869,7 +869,7 @@ int SystemTrayApplet::widthForHeight(int h) const
me->setFixedHeight(h);
}
- return sizeHint().width();
+ return tqsizeHint().width();
}
int SystemTrayApplet::heightForWidth(int w) const
@@ -888,7 +888,7 @@ int SystemTrayApplet::heightForWidth(int w) const
me->setFixedWidth(w);
}
- return sizeHint().height();
+ return tqsizeHint().height();
}
void SystemTrayApplet::moveEvent( TQMoveEvent* )
@@ -906,7 +906,7 @@ void SystemTrayApplet::resizeEvent( TQResizeEvent* )
void SystemTrayApplet::layoutTray()
{
- setUpdatesEnabled(false);
+ tqsetUpdatesEnabled(false);
int iconCount = m_shownWins.count();
@@ -927,11 +927,11 @@ void SystemTrayApplet::layoutTray()
{
if (orientation() == Qt::Vertical)
{
- m_expandButton->setFixedSize(width() - 4, m_expandButton->sizeHint().height());
+ m_expandButton->setFixedSize(width() - 4, m_expandButton->tqsizeHint().height());
}
else
{
- m_expandButton->setFixedSize(m_expandButton->sizeHint().width(), height() - 4);
+ m_expandButton->setFixedSize(m_expandButton->tqsizeHint().width(), height() - 4);
}
}
@@ -1102,7 +1102,7 @@ void SystemTrayApplet::layoutTray()
}
}
- setUpdatesEnabled(true);
+ tqsetUpdatesEnabled(true);
updateGeometry();
setBackground();
@@ -1138,7 +1138,7 @@ TrayEmbed::TrayEmbed( bool kdeTray, TQWidget* parent )
void TrayEmbed::getIconSize(int defaultIconSize)
{
- TQSize minSize = minimumSizeHint();
+ TQSize minSize = tqminimumSizeHint();
int width = minSize.width();
int height = minSize.height();
diff --git a/kicker/applets/systemtray/systemtrayapplet.h b/kicker/applets/systemtray/systemtrayapplet.h
index 237921884..92aab7268 100644
--- a/kicker/applets/systemtray/systemtrayapplet.h
+++ b/kicker/applets/systemtray/systemtrayapplet.h
@@ -27,7 +27,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <tqvaluevector.h>
#include <tqstringlist.h>
#include <tqevent.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqcheckbox.h>
#include <qxembed.h>