]> cloud.milkyroute.net Git - dolphin.git/commitdiff
krazy qtclasses fixes
authorPeter Penz <peter.penz19@gmail.com>
Tue, 26 May 2009 18:52:14 +0000 (18:52 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Tue, 26 May 2009 18:52:14 +0000 (18:52 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=973289

src/dolphinmainwindow.cpp
src/panels/information/tagcloud.cpp

index 43f7a3b24427353a414c239159aa77a40e77e305..399c662f83426a38df268edb27e59bd1c061f01c 100644 (file)
@@ -645,7 +645,7 @@ void DolphinMainWindow::selectAll()
     // URL instead of all items of the view
 
     KUrlNavigator* urlNavigator = m_activeViewContainer->urlNavigator();
     // URL instead of all items of the view
 
     KUrlNavigator* urlNavigator = m_activeViewContainer->urlNavigator();
-    QLineEdit* lineEdit = urlNavigator->editor()->lineEdit();
+    QLineEdit* lineEdit = urlNavigator->editor()->lineEdit(); // krazy:exclude=qclasses
     const bool selectUrl = urlNavigator->isUrlEditable() &&
                            lineEdit->hasFocus();
     if (selectUrl) {
     const bool selectUrl = urlNavigator->isUrlEditable() &&
                            lineEdit->hasFocus();
     if (selectUrl) {
@@ -721,7 +721,7 @@ void DolphinMainWindow::replaceLocation()
     navigator->setFocus();
 
     // select the whole text of the combo box editor
     navigator->setFocus();
 
     // select the whole text of the combo box editor
-    QLineEdit* lineEdit = navigator->editor()->lineEdit();
+    QLineEdit* lineEdit = navigator->editor()->lineEdit();  // krazy:exclude=qclasses
     const QString text = lineEdit->text();
     lineEdit->setSelection(0, text.length());
 }
     const QString text = lineEdit->text();
     lineEdit->setSelection(0, text.length());
 }
index ef1df5fa4fba4bc0c37411903fe8e00c171eb208..b52df82c462f6bc5b24465e8a15033d09db93b4c 100644 (file)
@@ -656,7 +656,7 @@ void Nepomuk::TagCloud::showResourceTags( const Resource& resource )
 
 void Nepomuk::TagCloud::showTags( const QList<Tag>& tags )
 {
 
 void Nepomuk::TagCloud::showTags( const QList<Tag>& tags )
 {
-    d->resource = QUrl();
+    d->resource = KUrl();
     d->showAllTags = false;
     d->invalidateCachedValues();
     d->nodes.clear();
     d->showAllTags = false;
     d->invalidateCachedValues();
     d->nodes.clear();