]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.h
replace QList<KFileItem> by KFileItemList, as KFileItemList is not QList<KFileItem...
[dolphin.git] / src / dolphinmainwindow.h
index 81b8f02c1da586af27cb2879857a4b7423e67aed..806399b6de56f4ec94b96c20507e03fa12bc3dc4 100644 (file)
@@ -60,14 +60,14 @@ public:
      * having a split view setup, the nonactive view
      * is usually shown in darker colors.
      */
-    inline DolphinViewContainer* activeViewContainer() const;
+    DolphinViewContainer* activeViewContainer() const;
 
     /**
      * Returns true, if the main window contains two instances
      * of a view container. The active view constainer can be
      * accessed by DolphinMainWindow::activeViewContainer().
      */
-    inline bool isSplit() const;
+    bool isSplit() const;
 
     /**
      * If the main window contains two instances of a view container
@@ -90,7 +90,7 @@ public:
      * Returns the 'Create New...' sub menu which also can be shared
      * with other menus (e. g. a context menu).
      */
-    inline KNewMenu* newMenu() const;
+    KNewMenu* newMenu() const;
 
 public slots:
     /**
@@ -110,7 +110,7 @@ public slots:
     /**
      * Returns the main window ID used through DBus.
      */
-    inline int getId() const;
+    int getId() const;
 
     /**
      * Inform all affected dolphin components (sidebars, views) of an URL
@@ -122,7 +122,7 @@ public slots:
      * Inform all affected dolphin components that a selection change is
      * requested.
      */
-    void changeSelection(const QList<KFileItem>& selection);
+    void changeSelection(const KFileItemList& selection);
 
     /** Stores all settings and quits Dolphin. */
     void quit();
@@ -138,7 +138,7 @@ signals:
      * Is sent if the selection of the currently active view has
      * been changed.
      */
-    void selectionChanged(const QList<KFileItem>& selection);
+    void selectionChanged(const KFileItemList& selection);
 
     /**
      * Is sent if the url of the currently active view has
@@ -398,13 +398,13 @@ private slots:
     void slotSortOrderChanged(Qt::SortOrder order);
 
     /** Updates the state of the 'Additional Information' actions. */
-    void slotAdditionalInfoChanged(KFileItemDelegate::AdditionalInformation info);
+    void slotAdditionalInfoChanged(KFileItemDelegate::InformationList info);
 
     /**
      * Updates the state of the 'Edit' menu actions and emits
      * the signal selectionChanged().
      */
-    void slotSelectionChanged(const QList<KFileItem>& selection);
+    void slotSelectionChanged(const KFileItemList& selection);
 
     /** Emits the signal requestItemInfo(). */
     void slotRequestItemInfo(const KFileItem&);
@@ -500,22 +500,22 @@ private:
     QList<KonqUndoManager::CommandType> m_undoCommandTypes;
 };
 
-DolphinViewContainer* DolphinMainWindow::activeViewContainer() const
+inline DolphinViewContainer* DolphinMainWindow::activeViewContainer() const
 {
     return m_activeViewContainer;
 }
 
-bool DolphinMainWindow::isSplit() const
+inline bool DolphinMainWindow::isSplit() const
 {
     return m_viewContainer[SecondaryView] != 0;
 }
 
-KNewMenu* DolphinMainWindow::newMenu() const
+inline KNewMenu* DolphinMainWindow::newMenu() const
 {
     return m_newMenu;
 }
 
-int DolphinMainWindow::getId() const
+inline int DolphinMainWindow::getId() const
 {
     return m_id;
 }