]> cloud.milkyroute.net Git - dolphin.git/commitdiff
SVN_SILENT Remove trailing white space.
authorFrank Reininghaus <frank78ac@googlemail.com>
Thu, 14 Apr 2011 11:27:33 +0000 (13:27 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Thu, 14 Apr 2011 11:27:33 +0000 (13:27 +0200)
src/panels/search/searchpanel.cpp
src/tests/dolphintreeviewtest.cpp
src/tests/dolphinviewtest_allviewmodes.cpp
src/views/dolphincategorydrawer.h
src/views/dolphinremoteencoding.cpp
src/views/dolphinremoteencoding.h
src/views/versioncontrol/versioncontrolobserver.h
src/views/viewextensionsfactory.h
src/views/zoomlevelinfo.h

index 4fb78c58105766f64b907366f539be4ab4d12939..38c78aacbb4a098ea9f4ad1436fea92579702794 100644 (file)
@@ -83,7 +83,7 @@ bool SearchPanel::urlChanged()
         m_startedFromDir = url();
     }
 
-    if (isVisible() && DolphinSearchInformation::instance().isIndexingEnabled()) {       
+    if (isVisible() && DolphinSearchInformation::instance().isIndexingEnabled()) {
         const Nepomuk::Query::FileQuery query(m_unfacetedRestQuery && m_facetWidget->queryTerm());
         if (query.toSearchUrl() == url()) {
             // The new URL has been triggered by the SearchPanel itself in
index afcd34d2b4cd6555dac22d2d5e455a9541d3292d..149570d1aa9fd6698a1252a3d146aee37d8396af 100644 (file)
@@ -222,7 +222,7 @@ void DolphinTreeViewTest::testKeyboardNavigationSelectionUpdate() {
 
     /**
      * Starting a drag&drop operation should not clear the selection, see
-     * 
+     *
      * https://bugs.kde.org/show_bug.cgi?id=158649
      */
 
index 79c3ed47800d43069047f318156e29f5e2238c3e..b50d4b5df7ff812f486babcefe70a1f21de2d1e0 100644 (file)
@@ -57,7 +57,7 @@ DolphinViewTest_AllViewModes::DolphinViewTest_AllViewModes() {
 Q_DECLARE_METATYPE(KFileItemList)
 
 void DolphinViewTest_AllViewModes::testSelection() {
-    TestDir dir;    
+    TestDir dir;
     const int totalItems = 50;
     for (int i = 0; i < totalItems; i++) {
         dir.createFile(QString("%1").arg(i));
index d9849727e788512960f83848a5c7fa10bb4ce06a..94c9e69efde20402ef88da70a4b70db460c52ee7 100644 (file)
@@ -44,7 +44,7 @@ public:
     virtual ~DolphinCategoryDrawer();
 
     bool allCategorySelected(const QString &category) const;
-    
+
     bool someCategorySelected(const QString &category) const;
 
     virtual void drawCategory(const QModelIndex &index, int sortRole,
index 475769e9122afec47781e0d6fedf97b7f7511edc..8644f5cc2da9c5d72bb41d5509bef55ffa096c60 100644 (file)
  *   Free Software Foundation, Inc.,                                       *
  *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA            *
  ***************************************************************************/
+
  /*
  * This code is largely based on the kremoteencodingplugin
  * Copyright (c) 2003 Thiago Macieira <thiago.macieira@kdemail.net>
  * Distributed under the same terms.
  */
+
 #include "dolphinremoteencoding.h"
 #include "dolphinviewactionhandler.h"
 
@@ -48,7 +48,7 @@ DolphinRemoteEncoding::DolphinRemoteEncoding(QObject* parent, DolphinViewActionH
    :QObject(parent),
     m_actionHandler(actionHandler),
     m_loaded(false),
-    m_idDefault(0)    
+    m_idDefault(0)
 {
     m_menu = new KActionMenu(KIcon("character-set"), i18n("Select Remote Charset"), this);
     m_actionHandler->actionCollection()->addAction("change_remote_encoding", m_menu);
@@ -86,7 +86,7 @@ void DolphinRemoteEncoding::slotAboutToOpenUrl()
         // everything whose type is T_FILESYSTEM except for local files
         if (!m_currentURL.isLocalFile() &&
             KProtocolManager::outputType(m_currentURL) == KProtocolInfo::T_FILESYSTEM) {
-          
+
             m_menu->setEnabled(true);
             loadSettings();
         } else {
@@ -105,7 +105,7 @@ void DolphinRemoteEncoding::fillMenu()
     KMenu* menu = m_menu->menu();
     menu->clear();
 
+
     for (int i = 0; i < m_encodingDescriptions.size();i++) {
         QAction* action = new QAction(m_encodingDescriptions.at(i), this);
         action->setCheckable(true);
@@ -117,7 +117,7 @@ void DolphinRemoteEncoding::fillMenu()
     menu->addAction(i18n("Reload"), this, SLOT(slotReload()), 0);
     menu->addAction(i18n("Default"), this, SLOT(slotDefault()), 0)->setCheckable(true);
     m_idDefault = m_encodingDescriptions.size() + 2;
-  
+
     connect(menu, SIGNAL(triggered(QAction*)), this, SLOT(slotItemSelected(QAction*)));
 }
 
@@ -126,12 +126,12 @@ void DolphinRemoteEncoding::updateMenu()
     if (!m_loaded) {
         loadSettings();
     }
-  
+
     // uncheck everything
     for (int i =  0; i < m_menu->menu()->actions().count(); i++) {
         m_menu->menu()->actions().at(i)->setChecked(false);
     }
-  
+
     QString charset = KIO::SlaveConfig::self()->configData(m_currentURL.protocol(),
                                                            m_currentURL.host(), DATA_KEY);
 
@@ -145,7 +145,7 @@ void DolphinRemoteEncoding::updateMenu()
                 break;
             }
         }
-      
+
         kDebug() << "URL=" << m_currentURL << " charset=" << charset;
 
         if (!isFound) {
@@ -156,7 +156,7 @@ void DolphinRemoteEncoding::updateMenu()
     } else {
         m_menu->menu()->actions().at(m_idDefault)->setChecked(true);
     }
-    
+
 }
 
 void DolphinRemoteEncoding::slotAboutToShow()
@@ -171,7 +171,7 @@ void DolphinRemoteEncoding::slotItemSelected(QAction* action)
 {
     if (action) {
         int id = action->data().toInt();
-    
+
         KConfig config(("kio_" + m_currentURL.protocol() + "rc").toLatin1());
         QString host = m_currentURL.host();
         if (m_menu->menu()->actions().at(id)->isChecked()) {
index 559bc66ad24055ef497fac40896092413f8adc70..b317cc1df34aa8216c56bfc13206ef1da269f637 100644 (file)
@@ -47,10 +47,10 @@ public Q_SLOTS:
   void slotItemSelected(QAction* action);
   void slotReload();
   void slotDefault();
-  
+
 private Q_SLOTS:
   void slotAboutToShow();
-  
+
 private:
   void updateView();
   void loadSettings();
index c971462ecf69f4266cf4bf7cb2d7bddf30d67b14..214c072cdb57806792a7d017d84804009735d0d5 100644 (file)
@@ -56,7 +56,7 @@ public:
 
     QList<QAction*> contextMenuActions(const KFileItemList& items) const;
     QList<QAction*> contextMenuActions(const QString& directory) const;
-    
+
 signals:
     /**
      * Is emitted if an information message with the content \a msg
@@ -75,7 +75,7 @@ signals:
      * should be shown.
      */
     void operationCompletedMessage(const QString& msg);
-    
+
 private slots:
     /**
      * Invokes verifyDirectory() with a small delay. If delayedDirectoryVerification()
@@ -90,7 +90,7 @@ private slots:
      * delayedDirectoryVerification() it and assures that the verification of
      * the directory is done silently without information messages.
      */
-    void silentDirectoryVerification();    
+    void silentDirectoryVerification();
 
     void verifyDirectory();
 
@@ -99,7 +99,7 @@ private slots:
      * and applys the item states.
      */
     void slotThreadFinished();
-    
+
 private:
     struct ItemState
     {
@@ -132,11 +132,11 @@ private:
     bool m_versionedDirectory;
     bool m_silentUpdate; // if true, no messages will be send during the update
                          // of version states
-    
+
     QAbstractItemView* m_view;
     KDirLister* m_dirLister;
     DolphinModel* m_dolphinModel;
-    
+
     QTimer* m_dirVerificationTimer;
 
     KVersionControlPlugin* m_plugin;
index 1f72edac570a27c170ff255363668e6880bcd7de..134868bceef0d0f13201161119cffa932f51cf63 100644 (file)
@@ -96,7 +96,7 @@ private:
     KFilePreviewGenerator* m_previewGenerator;
     SelectionManager* m_selectionManager;
     DolphinViewAutoScroller* m_autoScroller;
-    DolphinFileItemDelegate* m_fileItemDelegate;   
+    DolphinFileItemDelegate* m_fileItemDelegate;
     VersionControlObserver* m_versionControlObserver;
     FolderExpander* m_folderExpander;
 };
index 60bece5e46f5eff71b8121055329868fe016f2f4..4a26f754bd5020efcedb4c1405ae2f1d5f5d1490 100644 (file)
@@ -30,7 +30,7 @@ class ZoomLevelInfo {
 public:
     static int minimumLevel();
     static int maximumLevel();
-    
+
     /**
      * Helper method for the view implementation to get
      * the icon size for the zoom level \a level that
@@ -38,7 +38,7 @@ public:
      * ZoomLevelInfo::maximumLevel().
      */
     static int iconSizeForZoomLevel(int level);
-    
+
     /**
      * Helper method for the view implementation to get
      * the zoom level for the icon size \a size that