diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:35:10 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:35:10 -0600 |
commit | 1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f (patch) | |
tree | 11037eed53e1cd90dad4e194f9dea542ad28607f /kbabel/catalogmanager/catmanlistitem.cpp | |
parent | 3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b (diff) | |
download | tdesdk-1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f.tar.gz tdesdk-1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kbabel/catalogmanager/catmanlistitem.cpp')
-rw-r--r-- | kbabel/catalogmanager/catmanlistitem.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kbabel/catalogmanager/catmanlistitem.cpp b/kbabel/catalogmanager/catmanlistitem.cpp index d5997dd5..c836a956 100644 --- a/kbabel/catalogmanager/catmanlistitem.cpp +++ b/kbabel/catalogmanager/catmanlistitem.cpp @@ -417,7 +417,7 @@ void CatManListItem::update(bool showPoInfo,bool includeChildren if(showPoInfo) { - _lastUpdated=TQDateTime::tqcurrentDateTime(); + _lastUpdated=TQDateTime::currentDateTime(); bool neededWork=needsWork(); bool needWork=false; @@ -435,17 +435,17 @@ void CatManListItem::update(bool showPoInfo,bool includeChildren const CVSHandler* cvsHandler = _view->cvsHandler(); const SVNHandler* svnHandler = _view->svnHandler(); - const CVSHandler::FiletqStatus cvsFiletqStatus = cvsHandler->fstatus( poFile() ); - const SVNHandler::FiletqStatus svnFiletqStatus = svnHandler->fstatus( poFile() ); + const CVSHandler::FileStatus cvsFileStatus = cvsHandler->fstatus( poFile() ); + const SVNHandler::FileStatus svnFileStatus = svnHandler->fstatus( poFile() ); - _isModified = cvsHandler->isConsideredModified( cvsFiletqStatus ) - || svnHandler->isConsideredModified( svnFiletqStatus ); + _isModified = cvsHandler->isConsideredModified( cvsFileStatus ) + || svnHandler->isConsideredModified( svnFileStatus ); TQString versionControl; - if ( cvsFiletqStatus != CVSHandler::NO_REPOSITORY ) - versionControl = cvsHandler->filetqStatus( cvsFiletqStatus ); - else if ( svnFiletqStatus != SVNHandler::NO_REPOSITORY ) - versionControl = svnHandler->filetqStatus( svnFiletqStatus ); + if ( cvsFileStatus != CVSHandler::NO_REPOSITORY ) + versionControl = cvsHandler->fileStatus( cvsFileStatus ); + else if ( svnFileStatus != SVNHandler::NO_REPOSITORY ) + versionControl = svnHandler->fileStatus( svnFileStatus ); else versionControl = i18n("No version control"); @@ -532,7 +532,7 @@ void CatManListItem::update(bool showPoInfo,bool includeChildren if(showPoInfo) { - _lastUpdated=TQDateTime::tqcurrentDateTime(); + _lastUpdated=TQDateTime::currentDateTime(); // clean previous state information setText(COL_FUZZY,TQString()); @@ -617,7 +617,7 @@ void CatManListItem::updateAfterSave( PoInfo &poInfo ) TQString name=_primary.fileName(); setText(COL_NAME,name.left(name.length()-3)); - _lastUpdated=TQDateTime::tqcurrentDateTime(); + _lastUpdated=TQDateTime::currentDateTime(); bool neededWork=needsWork(); bool needWork=false; @@ -625,14 +625,14 @@ void CatManListItem::updateAfterSave( PoInfo &poInfo ) TQPixmap icon; _hasErrors=false; - const CVSHandler::FiletqStatus cvsFiletqStatus = _view->cvsHandler()->fstatus(poFile()); - const SVNHandler::FiletqStatus svnFiletqStatus = _view->svnHandler()->fstatus(poFile()); + const CVSHandler::FileStatus cvsFileStatus = _view->cvsHandler()->fstatus(poFile()); + const SVNHandler::FileStatus svnFileStatus = _view->svnHandler()->fstatus(poFile()); TQString versionControl; - if ( cvsFiletqStatus != CVSHandler::NO_REPOSITORY ) - versionControl = _view->cvsHandler()->filetqStatus( cvsFiletqStatus ); - else if ( svnFiletqStatus != SVNHandler::NO_REPOSITORY ) - versionControl = _view->svnHandler()->filetqStatus( svnFiletqStatus ); + if ( cvsFileStatus != CVSHandler::NO_REPOSITORY ) + versionControl = _view->cvsHandler()->fileStatus( cvsFileStatus ); + else if ( svnFileStatus != SVNHandler::NO_REPOSITORY ) + versionControl = _view->svnHandler()->fileStatus( svnFileStatus ); else versionControl = i18n("No version control"); |