Logo Search packages:      
Sourcecode: d3lphin version File versions  Download package

DolphinView Class Reference

#include <dolphinview.h>

List of all members.

Detailed Description

Represents a view for the directory content including the navigation bar and status bar.

View modes for icons, details and previews are supported. Currently Dolphin allows to have up to two views inside the main window.

See also:




Peter Penz <peter.penz@gmx.at>

Definition at line 65 of file dolphinview.h.

Public Types

enum  Mode { IconsView = 0, DetailsView = 1, PreviewsView = 2 }
enum  Sorting { SortByName = 0, SortBySize = 1, SortByDate = 2 }

Public Slots

void reload ()
void slotShowFilterBar (bool show)
void slotURLListDropped (QDropEvent *event, const KURL::List &urls, const KURL &url)


void contentsMoved (int x, int y)
void signalModeChanged ()
void signalRequestItemInfo (const KURL &url)
void signalSelectionChanged ()
void signalShowHiddenFilesChanged ()
void signalSortingChanged (DolphinView::Sorting sorting)
void signalSortOrderChanged (Qt::SortOrder order)
void signalURLChanged (const KURL &url)

Public Member Functions

int contentsX () const
int contentsY () const
const KFileItem * currentFileItem () const
 DolphinView (QWidget *parent, const KURL &url, Mode mode=IconsView, bool showHiddenFiles=false)
void editURL ()
void goBack ()
void goForward ()
void goHome ()
void goUp ()
bool hasSelection () const
void invertSelection ()
bool isActive () const
bool isFilterBarVisible () const
bool isShowHiddenFilesEnabled () const
bool isURLEditable () const
bool isZoomInPossible () const
bool isZoomOutPossible () const
Mode mode () const
void openContextMenu (KFileItem *fileInfo, const QPoint &pos)
void refreshSettings ()
void rename (const KURL &source, const QString &newName)
void renameSelectedItems ()
void requestActivation ()
void requestItemInfo (const KURL &url)
void selectAll ()
const KFileItemList * selectedItems () const
KURL::List selectedURLs () const
void setMode (Mode mode)
void setShowHiddenFilesEnabled (bool show)
void setSorting (Sorting sorting)
void setSortOrder (Qt::SortOrder order)
void setURL (const KURL &url)
void setURLEditable (bool editable)
void setViewProperties (const ViewProperties &props)
Sorting sorting () const
Qt::SortOrder sortOrder () const
DolphinStatusBarstatusBar () const
void updateStatusBar ()
const KURL & url () const
const QValueList
< URLNavigator::HistoryElem
urlHistory (int &index) const
const URLNavigatorurlNavigator () const
void zoomIn ()
void zoomOut ()

Protected Member Functions

virtual void mouseReleaseEvent (QMouseEvent *event)

Private Slots

void slotAddItems (const KFileItemList &list)
void slotChangeNameFilter (const QString &nameFilter)
void slotClear ()
void slotCompleted ()
void slotContentsMoving (int x, int y)
void slotDelayedUpdate ()
void slotDeleteItem (KFileItem *item)
void slotErrorMessage (const QString &msg)
void slotGrabActivation ()
void slotInfoMessage (const QString &msg)
void slotPercent (int percent)
void slotRefreshItems (const KFileItemList &list)
void slotURLChanged (const KURL &kurl)
void triggerDetailsViewItem (QListViewItem *item)
void triggerDetailsViewItem (QListViewItem *item, const QPoint &pos, int column)
void triggerIconsViewItem (QIconViewItem *item)
void updateURL ()

Private Member Functions

void createView ()
QString defaultStatusBarText () const
KFileView * fileView () const
ItemEffectsManageritemEffectsManager () const
QString renameIndexPresentation (int index, int itemCount) const
QScrollView * scrollView () const
QString selectionStatusBarText () const
void startDirLister (const KURL &url, bool reload=false)

Private Attributes

int m_fileCount
int m_folderCount
int m_iconSize
Mode m_mode
bool m_refreshing
bool m_showProgress
QVBoxLayout * m_topLayout

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index