summaryrefslogtreecommitdiffstats
path: root/knewsticker
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:09 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 15:53:43 +0200
commit81d696e1ee26cfc46fb4c97989575a7376b2d246 (patch)
tree08aba6fcefaed9220ebfcd71eb069179434e1df1 /knewsticker
parente7bee19a9f42cffe3a0792348a60e5bee1d3da71 (diff)
downloadtdenetwork-81d696e1ee26cfc46fb4c97989575a7376b2d246.tar.gz
tdenetwork-81d696e1ee26cfc46fb4c97989575a7376b2d246.zip
Rename obsolete tq methods to standard names
(cherry picked from commit 8a143ab9f846e910c583ea8e770cd05495e0c58d)
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()