summaryrefslogtreecommitdiffstats
path: root/krdc/kfullscreenpanel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krdc/kfullscreenpanel.cpp')
-rw-r--r--krdc/kfullscreenpanel.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/krdc/kfullscreenpanel.cpp b/krdc/kfullscreenpanel.cpp
index 84067359..0c85cfdd 100644
--- a/krdc/kfullscreenpanel.cpp
+++ b/krdc/kfullscreenpanel.cpp
@@ -20,7 +20,7 @@
Counter::Counter(float start) :
m_currentValue(start) {
- connect(&m_timer, SIGNAL(timeout()), SLOT(timeout()));
+ connect(&m_timer, TQT_SIGNAL(timeout()), TQT_SLOT(timeout()));
}
void Counter::count(float stop, float stepSize, float frequency) {
@@ -54,17 +54,17 @@ void Counter::timeout() {
}
-KFullscreenPanel::KFullscreenPanel(QWidget* parent,
+KFullscreenPanel::KFullscreenPanel(TQWidget* parent,
const char *name,
- const QSize &resolution) :
- QWidget(parent, name),
+ const TQSize &resolution) :
+ TQWidget(parent, name),
m_child(0),
m_layout(0),
m_fsResolution(resolution),
m_counter(0)
{
- connect(&m_counter, SIGNAL(countingDownFinished()), SLOT(hide()));
- connect(&m_counter, SIGNAL(counted(float)), SLOT(movePanel(float)));
+ connect(&m_counter, TQT_SIGNAL(countingDownFinished()), TQT_SLOT(hide()));
+ connect(&m_counter, TQT_SIGNAL(counted(float)), TQT_SLOT(movePanel(float)));
}
KFullscreenPanel::~KFullscreenPanel() {
@@ -76,19 +76,19 @@ void KFullscreenPanel::movePanel(float posY) {
show();
}
-void KFullscreenPanel::setChild(QWidget *child) {
+void KFullscreenPanel::setChild(TQWidget *child) {
if (m_layout)
delete m_layout;
m_child = child;
- m_layout = new QVBoxLayout(this);
+ m_layout = new TQVBoxLayout(this);
m_layout->addWidget(child);
doLayout();
}
void KFullscreenPanel::doLayout() {
- QSize s = sizeHint();
+ TQSize s = sizeHint();
setFixedSize(s);
setGeometry((m_fsResolution.width() - s.width())/2, 0,
s.width(), s.height());
@@ -102,11 +102,11 @@ void KFullscreenPanel::startHide() {
m_counter.count(-height(), -height()/12.0, 24);
}
-void KFullscreenPanel::enterEvent(QEvent*) {
+void KFullscreenPanel::enterEvent(TQEvent*) {
emit mouseEnter();
}
-void KFullscreenPanel::leaveEvent(QEvent*) {
+void KFullscreenPanel::leaveEvent(TQEvent*) {
emit mouseLeave();
}