summaryrefslogtreecommitdiffstats
path: root/quanta/src/quantadoc.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:36 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:36 -0600
commit1fffbdafa12271a1a635caf46777fb8acfb6f31b (patch)
tree707785bd058e254fd865ca30ed35f37f206aebbc /quanta/src/quantadoc.cpp
parent2b0e1de2ffcca7bb93f1fd8ddd32f74041d0d076 (diff)
downloadtdewebdev-1fffbdafa12271a1a635caf46777fb8acfb6f31b.tar.gz
tdewebdev-1fffbdafa12271a1a635caf46777fb8acfb6f31b.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 2b0e1de2ffcca7bb93f1fd8ddd32f74041d0d076.
Diffstat (limited to 'quanta/src/quantadoc.cpp')
-rw-r--r--quanta/src/quantadoc.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/quanta/src/quantadoc.cpp b/quanta/src/quantadoc.cpp
index 3585cdb8..797c1172 100644
--- a/quanta/src/quantadoc.cpp
+++ b/quanta/src/quantadoc.cpp
@@ -21,7 +21,7 @@
#include <tqwidget.h>
#include <tqtabwidget.h>
#include <tqtabbar.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqdragobject.h>
#include <tqobject.h>
@@ -132,7 +132,7 @@ bool QuantaDoc::newDocument( const KURL& url, bool switchToExisting )
else // select opened
if (switchToExisting)
{
- view->document()->checkDirtyStatus();
+ view->document()->checkDirtytqStatus();
if (view != ViewManager::ref()->activeView())
{
view->activate();
@@ -147,7 +147,7 @@ bool QuantaDoc::newDocument( const KURL& url, bool switchToExisting )
void QuantaDoc::openDocument(const KURL& urlToOpen, const TQString &a_encoding,
bool switchToExisting, bool readOnly)
{
- bool idleTimerStatus = quantaApp->slotEnableIdleTimer(false);
+ bool idleTimertqStatus = quantaApp->slotEnableIdleTimer(false);
KURL url = urlToOpen;
if (url.isLocalFile())
{
@@ -158,7 +158,7 @@ void QuantaDoc::openDocument(const KURL& urlToOpen, const TQString &a_encoding,
TQString encoding = a_encoding;
if (!newDocument(url, switchToExisting))
{
- quantaApp->slotEnableIdleTimer(idleTimerStatus);
+ quantaApp->slotEnableIdleTimer(idleTimertqStatus);
return;
}
Document *w = ViewManager::ref()->activeDocument();
@@ -211,23 +211,23 @@ void QuantaDoc::openDocument(const KURL& urlToOpen, const TQString &a_encoding,
highlightIf->setHlMode(htmlIdx);
}
}
- emit newStatus();
+ emit newtqStatus();
}
- quantaApp->slotEnableIdleTimer(idleTimerStatus);
+ quantaApp->slotEnableIdleTimer(idleTimertqStatus);
}
void QuantaDoc::slotOpeningFailed(const KURL &url)
{
Q_UNUSED(url);
- bool signalStatus = signalsBlocked();
+ bool signaltqStatus = signalsBlocked();
blockSignals(false);
emit hideSplash();
//Seems to be not needed anymore since KDE 3.2, but keep until it's completely verified
/*
- KMessageBox::error(quantaApp, i18n("<qt>Cannot open document <b>%1</b>.</qt>").arg(url.prettyURL(0, KURL::StripFileProtocol)));
+ KMessageBox::error(quantaApp, i18n("<qt>Cannot open document <b>%1</b>.</qt>").tqarg(url.prettyURL(0, KURL::StripFileProtocol)));
*/
ViewManager::ref()->removeActiveView();
- blockSignals(signalStatus);
+ blockSignals(signaltqStatus);
}
void QuantaDoc::slotOpeningCompleted(const KURL &url)
@@ -240,7 +240,7 @@ void QuantaDoc::slotOpeningCompleted(const KURL &url)
quantaApp->reparse(true);
if (url.isLocalFile())
quantaApp->debugger()->fileOpened(url.prettyURL(0, KURL::StripFileProtocol));
- quantaApp->slotNewStatus();
+ quantaApp->slotNewtqStatus();
quantaApp->setTitle(url.prettyURL(0, KURL::StripFileProtocol));
Project::ref()->loadCursorPosition(w->url(), dynamic_cast<KTextEditor::ViewCursorInterface*>(w->view()));
emit eventHappened("after_open", url.url(), TQString());
@@ -272,7 +272,7 @@ void QuantaDoc::slotAttribPopup()
if ( QuantaCommon::isKnownTag(w->getDTDIdentifier(),tagName) )
{
- TQString caption = i18n("Attributes of <%1>").arg(tagName);
+ TQString caption = i18n("Attributes of <%1>").tqarg(tagName);
attribMenu->insertTitle( caption );
AttributeList *list = QuantaCommon::tagAttributes(w->getDTDIdentifier(),tagName );
@@ -317,7 +317,7 @@ void QuantaDoc::slotAttribPopup()
}
}
else {
- TQString message = i18n("Unknown tag: %1").arg(tagName);
+ TQString message = i18n("Unknown tag: %1").tqarg(tagName);
quantaApp->slotStatusMsg( message );
}
}