KDE3Support
Go to the documentation of this file.
53 void highlightFile(
const KFileItem &item );
57 void changeSorting( QDir::SortFlags sorting );
62 void dirActivated(
const KFileItem &item );
64 void sortingChanged( QDir::SortFlags );
70 void fileHighlighted(
const KFileItem &item );
71 void fileSelected(
const KFileItem &item );
122 void setCurrentItem(
const QString &filename );
128 virtual void setCurrentItem(
const KFileItem &item ) = 0;
135 virtual KFileItem currentFileItem()
const = 0;
140 virtual void clear();
150 virtual void updateView(
bool f =
true);
152 virtual void updateView(
const KFileItem&);
158 virtual void removeItem(
const KFileItem &item);
165 virtual void listingCompleted();
171 QDir::SortFlags sorting()
const;
187 virtual void setSorting(QDir::SortFlags sort);
193 bool isReversed()
const;
205 uint numFiles()
const;
210 uint numDirs()
const;
218 All = Files | Directories
220 virtual void setViewMode( ViewMode vm );
221 virtual ViewMode viewMode()
const;
234 void setViewName(
const QString& name );
236 virtual void setParentView(
K3FileView *parent);
246 virtual void insertItem(
const KFileItem &i);
252 virtual void clearView() = 0;
258 virtual void ensureItemVisible(
const KFileItem &i ) = 0;
264 virtual void clearSelection() = 0;
277 virtual void invertSelection();
283 virtual void setSelected(
const KFileItem &,
bool enable) = 0;
289 virtual bool isSelected(
const KFileItem & )
const = 0;
301 virtual KFileItem firstFileItem()
const = 0;
315 void setOnlyDoubleClickSelectsFiles(
bool enable );
322 bool onlyDoubleClickSelectsFiles()
const;
355 virtual void setDropOptions(
int options);
376 static QString sortingKey(
const QString& value,
bool isDir, QDir::SortFlags SortFlags);
390 static int autoOpenDelay();
400 class K3FileViewPrivate;
401 K3FileViewPrivate*
const d;
404 #endif // KFILEINFOLISTWIDGET_H
internal class to make easier to use signals possible
static Q3ListViewItem * prevItem(Q3ListViewItem *pi)
This class defines an interface to all file views.
TsConfig readConfig(const QString &fname)
KAction * clear(const QObject *recvr, const char *slot, QObject *parent)
DropOptions
Various options for drag and drop support.
KAction * selectAll(const QObject *recvr, const char *slot, QObject *parent)
QStringList list(const QString &fileClass)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:58 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.