summaryrefslogtreecommitdiffstats
path: root/kbabel/catalogmanager/catalogmanagerview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/catalogmanager/catalogmanagerview.cpp')
-rw-r--r--kbabel/catalogmanager/catalogmanagerview.cpp10
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 ||