summaryrefslogtreecommitdiffstats
path: root/akregator/src/frame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/frame.cpp')
-rw-r--r--akregator/src/frame.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/akregator/src/frame.cpp b/akregator/src/frame.cpp
index 85419931a..55fac570e 100644
--- a/akregator/src/frame.cpp
+++ b/akregator/src/frame.cpp
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include <tqregexp.h>
@@ -37,8 +37,8 @@
namespace Akregator {
-Frame::Frame(TQObject * parent, KParts::ReadOnlyPart *p, TQWidget *visWidget, const TQString& tit, bool watchSignals)
- :TQObject(parent, "aKregatorFrame")
+Frame::Frame(TQObject * tqparent, KParts::ReadOnlyPart *p, TQWidget *visWidget, const TQString& tit, bool watchSignals)
+ :TQObject(tqparent, "aKregatorFrame")
{
m_autoDeletePart = false;
m_part=p;
@@ -146,7 +146,7 @@ void Frame::setState(int a)
emit started();
break;
case Frame::Canceled:
- emit canceled(TQString::null);
+ emit canceled(TQString());
break;
case Frame::Idle:
case Frame::Completed:
@@ -174,8 +174,8 @@ const TQString& Frame::statusText() const
void Frame::setStarted()
{
if(m_progressId.isNull() || m_progressId.isEmpty()) m_progressId = KPIM::ProgressManager::getUniqueID();
- m_progressItem = KPIM::ProgressManager::createProgressItem(m_progressId, TQStyleSheet::escape( title() ), TQString::null, false);
- m_progressItem->seStatus(i18n("Loading..."));
+ m_progressItem = KPIM::ProgressManager::createProgressItem(m_progressId, TQStyleSheet::escape( title() ), TQString(), false);
+ m_progressItem->setqStatus(i18n("Loading..."));
//connect(m_progressItem, TQT_SIGNAL(progressItemCanceled(KPIM::ProgressItem*)), TQT_SLOT(slotAbortFetch()));
m_state=Started;
emit started();
@@ -184,7 +184,7 @@ void Frame::setStarted()
void Frame::setCanceled(const TQString &s)
{
if(m_progressItem) {
- m_progressItem->seStatus(i18n("Loading canceled"));
+ m_progressItem->setqStatus(i18n("Loading canceled"));
m_progressItem->setComplete();
m_progressItem = 0;
}
@@ -195,7 +195,7 @@ void Frame::setCanceled(const TQString &s)
void Frame::setCompleted()
{
if(m_progressItem) {
- m_progressItem->seStatus(i18n("Loading completed"));
+ m_progressItem->setqStatus(i18n("Loading completed"));
m_progressItem->setComplete();
m_progressItem = 0;
}