diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:23:09 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-21 14:23:09 -0600 |
commit | 8a143ab9f846e910c583ea8e770cd05495e0c58d (patch) | |
tree | 06462d431eeef66349e54facb75e75a09261eba8 /knewsticker/knewsticker.cpp | |
parent | 1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98 (diff) | |
download | tdenetwork-8a143ab9f846e910c583ea8e770cd05495e0c58d.tar.gz tdenetwork-8a143ab9f846e910c583ea8e770cd05495e0c58d.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'knewsticker/knewsticker.cpp')
-rw-r--r-- | knewsticker/knewsticker.cpp | 18 |
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() |