diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-13 00:26:14 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-13 00:26:14 +0000 |
commit | e192d1b3be27a26e344ae48cc6aea31185fe0a99 (patch) | |
tree | 080c21ee8a1a1a496c0b37b2a8fcb3381de04cd2 /kbabel/catalogmanager/catalogmanagerview.cpp | |
parent | 6e7b4925121d177e954df2cca45443cfd78bda40 (diff) | |
download | tdesdk-e192d1b3be27a26e344ae48cc6aea31185fe0a99.tar.gz tdesdk-e192d1b3be27a26e344ae48cc6aea31185fe0a99.zip |
Finish TQt4 porting of kdesdk (kbabel)
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236386 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/catalogmanager/catalogmanagerview.cpp')
-rw-r--r-- | kbabel/catalogmanager/catalogmanagerview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kbabel/catalogmanager/catalogmanagerview.cpp b/kbabel/catalogmanager/catalogmanagerview.cpp index 49e10c05..54d177b4 100644 --- a/kbabel/catalogmanager/catalogmanagerview.cpp +++ b/kbabel/catalogmanager/catalogmanagerview.cpp @@ -1953,7 +1953,7 @@ bool CatalogManagerView::buildDir(const TQString& baseDir,const TQString& relDir } TQString subDir=relDir+(*it)+"/"; - if(!_dirWatch->tqcontains(baseDir+subDir)) + if(!_dirWatch->contains(baseDir+subDir)) { _dirWatch->addDir(baseDir+subDir); } @@ -2056,7 +2056,7 @@ void CatalogManagerView::updateDir(TQString relDir) bool newDirAdded=false; TQString subDir=relDir+(*it)+"/"; - if(!_dirWatch->tqcontains(potBaseDir+subDir)) + if(!_dirWatch->contains(potBaseDir+subDir)) { _dirWatch->addDir(potBaseDir+subDir); @@ -2138,7 +2138,7 @@ void CatalogManagerView::updateDir(TQString relDir) bool newDirAdded=false; TQString subDir=relDir+(*it)+"/"; - if(!_dirWatch->tqcontains(poBaseDir+subDir)) + if(!_dirWatch->contains(poBaseDir+subDir)) { _dirWatch->addDir(poBaseDir+subDir); newDirAdded=true; @@ -2507,7 +2507,7 @@ void CatalogManagerView::showEvent(TQShowEvent*) void CatalogManagerView::contentsMousePressEvent(TQMouseEvent* event) { - if(event->button() == LeftButton) + if(event->button() == Qt::LeftButton) _pressPos=event->pos(); TQListView::contentsMousePressEvent( event ); @@ -2515,7 +2515,7 @@ void CatalogManagerView::contentsMousePressEvent(TQMouseEvent* event) void CatalogManagerView::contentsMouseMoveEvent(TQMouseEvent* event) { - if(event->state() & LeftButton) + if(event->state() & Qt::LeftButton) { const int delay = KGlobalSettings::dndEventDelay(); if(TQABS( event->pos().x() - _pressPos.x() ) >= delay || |