summaryrefslogtreecommitdiffstats
path: root/cervisia/cervisiapart.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:38 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:38 -0600
commitd6331f1b56eb6dca7a1950658b2932f208015da0 (patch)
treef99bf8d1571f93304bdb4a46fb199a1bde60e6ee /cervisia/cervisiapart.cpp
parente738fee8847c1f606df7b338a589cc8c0539a521 (diff)
downloadtdesdk-d6331f1b56eb6dca7a1950658b2932f208015da0.tar.gz
tdesdk-d6331f1b56eb6dca7a1950658b2932f208015da0.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'cervisia/cervisiapart.cpp')
-rw-r--r--cervisia/cervisiapart.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/cervisia/cervisiapart.cpp b/cervisia/cervisiapart.cpp
index 9087bacc..beebe356 100644
--- a/cervisia/cervisiapart.cpp
+++ b/cervisia/cervisiapart.cpp
@@ -22,7 +22,7 @@
#include <tqmessagebox.h>
#include <tqpushbutton.h>
#include <tqpopupmenu.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqtooltip.h>
#include <kaboutdata.h>
#include <kaction.h>
@@ -213,7 +213,7 @@ void CervisiaPart::slotSetupStatusBar()
{
// create the active filter indicator and add it to the statusbar
filterLabel = new TQLabel("UR", m_statusBar->statusBar());
- filterLabel->setFixedSize(filterLabel->tqsizeHint());
+ filterLabel->setFixedSize(filterLabel->sizeHint());
filterLabel->setText("");
TQToolTip::add(filterLabel,
i18n("F - All files are hidden, the tree shows only folders\n"
@@ -258,7 +258,7 @@ void CervisiaPart::setupActions()
action->setWhatsThis( hint );
action = new KAction( i18n("&Status"), "vcs_status", Key_F5,
- this, TQT_SLOT( slottqStatus() ),
+ this, TQT_SLOT( slotStatus() ),
actionCollection(), "file_status" );
hint = i18n("Updates the status (cvs -n update) of the selected files and folders");
action->setToolTip( hint );
@@ -726,7 +726,7 @@ void CervisiaPart::aboutCervisia()
"GNU General Public License for more details.\n"
"See the ChangeLog file for a list of contributors."));
TQMessageBox::about(0, i18n("About Cervisia"),
- aboutstr.tqarg(CERVISIA_VERSION).tqarg(TDE_VERSION_STRING));
+ aboutstr.arg(CERVISIA_VERSION).arg(TDE_VERSION_STRING));
}
@@ -856,7 +856,7 @@ void CervisiaPart::slotUpdate()
}
-void CervisiaPart::slottqStatus()
+void CervisiaPart::slotStatus()
{
TQStringList list = update->multipleSelection();
if (list.isEmpty())
@@ -1166,13 +1166,13 @@ void CervisiaPart::slotAnnotate()
void CervisiaPart::slotDiffBase()
{
- showDiff(TQString::tqfromLatin1("BASE"));
+ showDiff(TQString::fromLatin1("BASE"));
}
void CervisiaPart::slotDiffHead()
{
- showDiff(TQString::tqfromLatin1("HEAD"));
+ showDiff(TQString::fromLatin1("HEAD"));
}
@@ -1694,7 +1694,7 @@ void CervisiaPart::slotJobFinished()
{
KNotifyClient::event(widget()->parentWidget()->winId(), "cvs_commit_done",
i18n("A CVS commit to repository %1 is done")
- .tqarg(repository));
+ .arg(repository));
m_jobType = Unknown;
}
}
@@ -1764,7 +1764,7 @@ bool CervisiaPart::openSandbox(const TQString &dirname)
if (dostatus)
{
update->setSelected(update->firstChild(), true);
- slottqStatus();
+ slotStatus();
}
//load the recentCommits for this app from the KConfig app