* 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
* 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:
/**
/**
* 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
* 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();
* 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
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&);
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;
}