summaryrefslogtreecommitdiffstats
path: root/dcoprss/document.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:59:34 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:59:34 -0600
commit83677e35509b4dafac63b76995652bdf3b49f209 (patch)
tree591f1dc22278addb439726c42896376b17bb42bd /dcoprss/document.cpp
parent808e453c56036211f57482ed847d54aca01bba68 (diff)
downloadtdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz
tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
Diffstat (limited to 'dcoprss/document.cpp')
-rw-r--r--dcoprss/document.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/dcoprss/document.cpp b/dcoprss/document.cpp
index fb5cd904..64c68d6e 100644
--- a/dcoprss/document.cpp
+++ b/dcoprss/document.cpp
@@ -29,7 +29,7 @@ RSSDocument::RSSDocument(const TQString& url) :
m_pix = TQPixmap();
m_isLoading = false;
m_maxAge = 60;
- m_Timeout = TQDateTime::currentDateTime();
+ m_Timeout = TQDateTime::tqcurrentDateTime();
m_state.clear();
}
@@ -40,7 +40,7 @@ RSSDocument::~RSSDocument()
delete m_Doc;
}
-void RSSDocument::loadingComplete(Loader *ldr, Document doc, Status stat)
+void RSSDocument::loadingComplete(Loader *ldr, Document doc, tqStatus stat)
{
@@ -129,7 +129,7 @@ TQDateTime RSSDocument::lastBuildDate()
if( m_Doc != 0L)
return m_Doc->lastBuildDate();
else
- return TQDateTime::currentDateTime();
+ return TQDateTime::tqcurrentDateTime();
}
TQDateTime RSSDocument::pubDate()
@@ -137,7 +137,7 @@ TQDateTime RSSDocument::pubDate()
if( m_Doc != 0L)
return m_Doc->pubDate();
else
- return TQDateTime::currentDateTime();
+ return TQDateTime::tqcurrentDateTime();
}
TQString RSSDocument::copyright()
@@ -243,14 +243,14 @@ bool RSSDocument::pixmapValid()
void RSSDocument::refresh()
{
kdDebug() << "Mod time " << m_Timeout.toString() << endl;
- kdDebug() << "Current time " << TQDateTime::currentDateTime().toString() << endl;
+ kdDebug() << "Current time " << TQDateTime::tqcurrentDateTime().toString() << endl;
- if(!m_isLoading && (TQDateTime::currentDateTime() >= m_Timeout))
+ if(!m_isLoading && (TQDateTime::tqcurrentDateTime() >= m_Timeout))
{
kdDebug() << "Document going to refresh" << endl;
m_isLoading = true;
Loader *loader = Loader::create(this,
- TQT_SLOT(loadingComplete(Loader *, Document, Status)));
+ TQT_SLOT(loadingComplete(Loader *, Document, tqStatus)));
loader->loadFrom(KURL( m_Url ), new FileRetriever());
documentUpdating(DCOPRef(this));
}