diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:33:51 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:33:51 -0600 |
commit | 089118c18533dfa3e6ce5065dbebdd4db94051f1 (patch) | |
tree | ce014fb2326a80fcfafa2362b7ff88486aa17c96 /dcoprss/document.cpp | |
parent | 83677e35509b4dafac63b76995652bdf3b49f209 (diff) | |
download | tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.tar.gz tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'dcoprss/document.cpp')
-rw-r--r-- | dcoprss/document.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dcoprss/document.cpp b/dcoprss/document.cpp index 64c68d6e..fb5cd904 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::tqcurrentDateTime(); + m_Timeout = TQDateTime::currentDateTime(); m_state.clear(); } @@ -40,7 +40,7 @@ RSSDocument::~RSSDocument() delete m_Doc; } -void RSSDocument::loadingComplete(Loader *ldr, Document doc, tqStatus stat) +void RSSDocument::loadingComplete(Loader *ldr, Document doc, Status stat) { @@ -129,7 +129,7 @@ TQDateTime RSSDocument::lastBuildDate() if( m_Doc != 0L) return m_Doc->lastBuildDate(); else - return TQDateTime::tqcurrentDateTime(); + return TQDateTime::currentDateTime(); } TQDateTime RSSDocument::pubDate() @@ -137,7 +137,7 @@ TQDateTime RSSDocument::pubDate() if( m_Doc != 0L) return m_Doc->pubDate(); else - return TQDateTime::tqcurrentDateTime(); + return TQDateTime::currentDateTime(); } TQString RSSDocument::copyright() @@ -243,14 +243,14 @@ bool RSSDocument::pixmapValid() void RSSDocument::refresh() { kdDebug() << "Mod time " << m_Timeout.toString() << endl; - kdDebug() << "Current time " << TQDateTime::tqcurrentDateTime().toString() << endl; + kdDebug() << "Current time " << TQDateTime::currentDateTime().toString() << endl; - if(!m_isLoading && (TQDateTime::tqcurrentDateTime() >= m_Timeout)) + if(!m_isLoading && (TQDateTime::currentDateTime() >= m_Timeout)) { kdDebug() << "Document going to refresh" << endl; m_isLoading = true; Loader *loader = Loader::create(this, - TQT_SLOT(loadingComplete(Loader *, Document, tqStatus))); + TQT_SLOT(loadingComplete(Loader *, Document, Status))); loader->loadFrom(KURL( m_Url ), new FileRetriever()); documentUpdating(DCOPRef(this)); } |