summaryrefslogtreecommitdiffstats
path: root/konqueror/keditbookmarks/testlink.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
commit495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch)
treedaabcb652c07b9a17cad88ca50b63a2d91ead4a3 /konqueror/keditbookmarks/testlink.cpp
parent50001f1757f97510e80cb1990e2f2d5b00144c2a (diff)
downloadtdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz
tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konqueror/keditbookmarks/testlink.cpp')
-rw-r--r--konqueror/keditbookmarks/testlink.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/konqueror/keditbookmarks/testlink.cpp b/konqueror/keditbookmarks/testlink.cpp
index 0d7d0ddf8..f6d396805 100644
--- a/konqueror/keditbookmarks/testlink.cpp
+++ b/konqueror/keditbookmarks/testlink.cpp
@@ -73,7 +73,7 @@ TestLinkItr::TestLinkItr(TQValueList<KBookmark> bks)
TestLinkItr::~TestLinkItr() {
if (m_job) {
// kdDebug() << "JOB kill\n";
- curItem()->restoreStatus();
+ curItem()->restoretqStatus();
m_job->disconnect();
m_job->kill(false);
}
@@ -95,9 +95,9 @@ void TestLinkItr::doAction() {
connect(m_job, TQT_SIGNAL( data( KIO::Job *, const TQByteArray &)),
this, TQT_SLOT( slotJobData(KIO::Job *, const TQByteArray &)));
- curItem()->setTmpStatus(i18n("Checking..."));
+ curItem()->setTmptqStatus(i18n("Checking..."));
TQString oldModDate = TestLinkItrHolder::self()->getMod(curBk().url().url());
- curItem()->setOldStatus(oldModDate);
+ curItem()->setOldtqStatus(oldModDate);
TestLinkItrHolder::self()->setMod(curBk().url().url(), i18n("Checking..."));
}
@@ -144,7 +144,7 @@ void TestLinkItr::slotJobResult(KIO::Job *job) {
// can we assume that errorString will contain no entities?
TQString jerr = job->errorString();
if (!jerr.isEmpty()) {
- jerr.replace("\n", " ");
+ jerr.tqreplace("\n", " ");
curItem()->nsPut(jerr);
chkErr = false;
}
@@ -166,13 +166,13 @@ void TestLinkItr::slotJobResult(KIO::Job *job) {
/* -------------------------- */
const TQString TestLinkItrHolder::getMod(const TQString &url) const {
- return m_modify.contains(url)
+ return m_modify.tqcontains(url)
? m_modify[url]
: TQString::null;
}
const TQString TestLinkItrHolder::getOldVisit(const TQString &url) const {
- return self()->m_oldModify.contains(url)
+ return self()->m_oldModify.tqcontains(url)
? self()->m_oldModify[url]
: TQString::null;
}
@@ -347,7 +347,7 @@ void KEBListViewItem::nsPut(const TQString &newModDate) {
TQString blah = updateNsInfoMod(info, newModDate);
m_bookmark.internalElement().setAttribute(NetscapeInfoAttribute, blah);
TestLinkItrHolder::self()->setMod(m_bookmark.url().url(), newModDate);
- setText(KEBListView::StatusColumn, newModDate);
+ setText(KEBListView::tqStatusColumn, newModDate);
}
// KEBListViewItem !!!!!!!!!!!
@@ -365,29 +365,29 @@ void KEBListViewItem::modUpdate() {
TQString statusLine;
statusLine = TestLinkItrHolder::calcPaintStyle(m_bookmark.url().url(), m_paintStyle, iVisit, oldModify);
if (statusLine != "Error")
- setText(KEBListView::StatusColumn, statusLine);
+ setText(KEBListView::tqStatusColumn, statusLine);
}
/* -------------------------- */
// KEBListViewItem !!!!!!!!!!!
-void KEBListViewItem::setOldStatus(const TQString &oldStatus) {
- // kdDebug() << "KEBListViewItem::setOldStatus" << endl;
- m_oldStatus = oldStatus;
+void KEBListViewItem::setOldtqStatus(const TQString &oldtqStatus) {
+ // kdDebug() << "KEBListViewItem::setOldtqStatus" << endl;
+ m_oldtqStatus = oldtqStatus;
}
// KEBListViewItem !!!!!!!!!!!
-void KEBListViewItem::setTmpStatus(const TQString &status) {
- // kdDebug() << "KEBListViewItem::setTmpStatus" << endl;
+void KEBListViewItem::setTmptqStatus(const TQString &status) {
+ // kdDebug() << "KEBListViewItem::setTmptqStatus" << endl;
m_paintStyle = KEBListViewItem::BoldStyle;
- setText(KEBListView::StatusColumn, status);
+ setText(KEBListView::tqStatusColumn, status);
}
// KEBListViewItem !!!!!!!!!!!
-void KEBListViewItem::restoreStatus() {
- if (!m_oldStatus.isNull()) {
- // kdDebug() << "KEBListViewItem::restoreStatus" << endl;
- TestLinkItrHolder::self()->resetToValue(m_bookmark.url().url(), m_oldStatus);
+void KEBListViewItem::restoretqStatus() {
+ if (!m_oldtqStatus.isNull()) {
+ // kdDebug() << "KEBListViewItem::restoretqStatus" << endl;
+ TestLinkItrHolder::self()->resetToValue(m_bookmark.url().url(), m_oldtqStatus);
modUpdate();
}
}