diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:01:21 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-27 04:07:27 +0200 |
commit | 193ee22fa873cb3b071782dea0e3389131d3ea60 (patch) | |
tree | 23eb8bf9ea13d8ed4777f0d3a590a4ec3898cf03 /bibletime/frontend/btinstallmgr.cpp | |
parent | 1a39bd724301ab6f82537ea70094c49fb1ab5719 (diff) | |
download | bibletime-193ee22fa873cb3b071782dea0e3389131d3ea60.tar.gz bibletime-193ee22fa873cb3b071782dea0e3389131d3ea60.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit b3604f731cc45450d860d07be06fc050339de07a)
Diffstat (limited to 'bibletime/frontend/btinstallmgr.cpp')
-rw-r--r-- | bibletime/frontend/btinstallmgr.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bibletime/frontend/btinstallmgr.cpp b/bibletime/frontend/btinstallmgr.cpp index ba72c50..a296bf7 100644 --- a/bibletime/frontend/btinstallmgr.cpp +++ b/bibletime/frontend/btinstallmgr.cpp @@ -41,7 +41,7 @@ namespace BookshelfManager { const TQString BTInstallMgr::Tool::LocalConfig::swordConfigFilename() { // Q_ASSERT( CPointers::backend()->sysconfig ); - return TQString::tqfromLatin1("%1/.sword/sword.conf").tqarg(getenv("HOME")); + return TQString::fromLatin1("%1/.sword/sword.conf").tqarg(getenv("HOME")); } TQStringList BTInstallMgr::Tool::RemoteConfig::sourceList( sword::InstallMgr* mgr ) { @@ -65,7 +65,7 @@ namespace BookshelfManager { while (sourceBegin != sourceEnd) { InstallSource is("DIR", sourceBegin->second.c_str()); - names << TQString::tqfromLatin1(is.caption.c_str()); + names << TQString::fromLatin1(is.caption.c_str()); sourceBegin++; } @@ -117,7 +117,7 @@ namespace BookshelfManager { if (!directAccess) { //use kdesu to move the file to the right place KProcess *proc = new KProcess; *proc << "kdesu"; - *proc << TQString::tqfromLatin1("-c") << TQString("mv %1 %2").tqarg(filename).tqarg(LocalConfig::swordConfigFilename()); + *proc << TQString::fromLatin1("-c") << TQString("mv %1 %2").tqarg(filename).tqarg(LocalConfig::swordConfigFilename()); proc->start(KProcess::Block); } } @@ -326,7 +326,7 @@ namespace BookshelfManager { emit completed(totalPercent, filePercent); } - void BTInstallMgr::pretqStatus(long totalBytes, long completedBytes, const char* /*message*/) { + void BTInstallMgr::preStatus(long totalBytes, long completedBytes, const char* /*message*/) { qWarning("pre Status: %i / %i", (int)totalBytes, (int)completedBytes); emit downloadStarted( "unknown filename" ); |