summaryrefslogtreecommitdiffstats
path: root/knewsticker
diff options
context:
space:
mode:
Diffstat (limited to 'knewsticker')
-rw-r--r--knewsticker/knewsticker.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/knewsticker/knewsticker.cpp b/knewsticker/knewsticker.cpp
index 535485bf..89c78232 100644
--- a/knewsticker/knewsticker.cpp
+++ b/knewsticker/knewsticker.cpp
@@ -47,7 +47,7 @@ KNewsTicker::KNewsTicker(const TQString &cfgFile, Type t, int actions, TQWidget
I18N_NOOP("A news ticker applet."), KAboutData::License_BSD,
I18N_NOOP("(c) 2000, 2001 The KNewsTicker developers")))
{
- TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
+ TQHBoxLayout *layout = new TQHBoxLayout(this);
m_contextMenu = new KNewsTickerMenu(this);
connect(m_contextMenu, TQT_SIGNAL(aboutToHide()),
@@ -59,10 +59,10 @@ KNewsTicker::KNewsTicker(const TQString &cfgFile, Type t, int actions, TQWidget
connect(m_arrowButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotArrowButtonPressed()));
m_arrowButton->setFocusPolicy(TQ_NoFocus);
setupArrowButton();
- tqlayout->addWidget(m_arrowButton);
+ layout->addWidget(m_arrowButton);
m_scroller = new NewsScroller(this, m_cfg);
- tqlayout->addWidget(m_scroller);
+ layout->addWidget(m_scroller);
m_dcopClient->registerAs("knewsticker", false);
@@ -257,21 +257,21 @@ void KNewsTicker::slotArrowButtonPressed()
void KNewsTicker::positionChange(Position)
{
- delete tqlayout();
+ delete layout();
- TQBoxLayout *tqlayout;
+ TQBoxLayout *layout;
if (orientation() ==Qt::Horizontal)
- tqlayout = new TQHBoxLayout(this);
+ layout = new TQHBoxLayout(this);
else
- tqlayout = new TQVBoxLayout(this);
+ layout = new TQVBoxLayout(this);
if (m_arrowButton) {
- tqlayout->addWidget(m_arrowButton);
+ layout->addWidget(m_arrowButton);
setupArrowButton();
}
- tqlayout->addWidget(m_scroller);
+ layout->addWidget(m_scroller);
}
void KNewsTicker::slotContextMenuAboutToHide()