summaryrefslogtreecommitdiffstats
path: root/cervisia/misc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cervisia/misc.cpp')
-rw-r--r--cervisia/misc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cervisia/misc.cpp b/cervisia/misc.cpp
index 7a13b15c..76ae72d1 100644
--- a/cervisia/misc.cpp
+++ b/cervisia/misc.cpp
@@ -60,7 +60,7 @@ static int FindWhiteSpace(const TQString& str, int index)
if( index < 0 || index >= length )
return -1;
- const TQChar* const startPos = str.unicode();
+ const TQChar* const startPos = str.tqunicode();
const TQChar* const endPos = startPos + length;
const TQChar* pos = startPos + index;
@@ -215,7 +215,7 @@ bool Cervisia::CheckOverwrite(const TQString& fileName, TQWidget* parent)
if( fi.exists() )
{
result = (KMessageBox::warningContinueCancel(parent,
- i18n("A file named \"%1\" already exists. Are you sure you want to overwrite it?").arg(fileName),
+ i18n("A file named \"%1\" already exists. Are you sure you want to overwrite it?").tqarg(fileName),
i18n("Overwrite File?"),
KGuiItem(i18n("&Overwrite"), "filesave", i18n("Overwrite the file"))) == KMessageBox::Continue);
}
@@ -261,14 +261,14 @@ TQStringList splitLine(TQString line, char delim)
const TQStringList fetchBranches(CvsService_stub* cvsService, TQWidget* parent)
{
- return FetchBranchesAndTags(TQString::fromLatin1("branch"), cvsService,
+ return FetchBranchesAndTags(TQString::tqfromLatin1("branch"), cvsService,
parent);
}
const TQStringList fetchTags(CvsService_stub* cvsService, TQWidget* parent)
{
- return FetchBranchesAndTags(TQString::fromLatin1("revision"), cvsService,
+ return FetchBranchesAndTags(TQString::tqfromLatin1("revision"), cvsService,
parent);
}