diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:38 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:38 -0600 |
commit | d6331f1b56eb6dca7a1950658b2932f208015da0 (patch) | |
tree | f99bf8d1571f93304bdb4a46fb199a1bde60e6ee /cervisia/misc.cpp | |
parent | e738fee8847c1f606df7b338a589cc8c0539a521 (diff) | |
download | tdesdk-d6331f1b56eb6dca7a1950658b2932f208015da0.tar.gz tdesdk-d6331f1b56eb6dca7a1950658b2932f208015da0.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'cervisia/misc.cpp')
-rw-r--r-- | cervisia/misc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cervisia/misc.cpp b/cervisia/misc.cpp index 76ae72d1..7a13b15c 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.tqunicode(); + const TQChar* const startPos = str.unicode(); 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?").tqarg(fileName), + i18n("A file named \"%1\" already exists. Are you sure you want to overwrite it?").arg(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::tqfromLatin1("branch"), cvsService, + return FetchBranchesAndTags(TQString::fromLatin1("branch"), cvsService, parent); } const TQStringList fetchTags(CvsService_stub* cvsService, TQWidget* parent) { - return FetchBranchesAndTags(TQString::tqfromLatin1("revision"), cvsService, + return FetchBranchesAndTags(TQString::fromLatin1("revision"), cvsService, parent); } |