tdefilepreview.cpp
262 kdWarning() << "KFilePreview::actionCollection(): called before setFileView()." << endl; //ellis
virtual void setCurrentItem(const KFileItem *)
Reimplement this to set item the current item in the view, e.g.
Definition: tdefilepreview.cpp:209
void setFileView(KFileView *view)
Delets the current view and sets the view to the given view.
Definition: tdefilepreview.cpp:81
virtual void setSelected(const KFileItem *, bool)
Tells the view that it should highlight the item.
Definition: tdefilepreview.cpp:205
virtual void listingCompleted()
This hook is called when all items of the currently listed directory are listed and inserted into the...
Definition: tdefilepreview.cpp:169
virtual void clearSelection()
Clears any selection, unhighlights everything.
Definition: tdefilepreview.cpp:180
virtual bool isSelected(const KFileItem *) const
Definition: tdefilepreview.cpp:196
virtual void removeItem(const KFileItem *)
Removes an item from the list; has to be implemented by the view.
Definition: tdefilepreview.cpp:160
virtual void insertItem(KFileItem *)
The derived view must implement this function to add the file in the widget.
Definition: tdefilepreview.cpp:130
virtual void setSorting(TQDir::SortSpec sort)
Sets the sorting order of the view.
Definition: tdefilepreview.cpp:136
virtual KFileItem * currentFileItem() const
Definition: tdefilepreview.cpp:214
virtual void clearView()
pure virtual function, that should be implemented to clear the view.
Definition: tdefilepreview.cpp:142
virtual TDEActionCollection * actionCollection() const
This overrides KFileView::actionCollection() by returning the actionCollection() of the KFileView (me...
Definition: tdefilepreview.cpp:257
void ensureItemVisible(const KFileItem *)
pure virtual function, that should be implemented to make item i visible, i.e.
Definition: tdefilepreview.cpp:237
virtual void clearSelection()=0
Clears any selection, unhighlights everything.
bool onlyDoubleClickSelectsFiles() const
Definition: tdefileview.h:329
void setViewName(const TQString &name)
Sets the name of the view, which could be displayed somewhere.
Definition: tdefileview.h:239
virtual void insertItem(KFileItem *i)
The derived view must implement this function to add the file in the widget.
Definition: tdefileview.cpp:147
virtual void listingCompleted()
This hook is called when all items of the currently listed directory are listed and inserted into the...
Definition: tdefileview.cpp:360
void setCurrentItem(const TQString &filename)
Sets filename the current item in the view, if available.
Definition: tdefileview.cpp:268
void setOnlyDoubleClickSelectsFiles(bool enable)
This is a KFileDialog specific hack: we want to select directories with single click,...
Definition: tdefileview.h:320
TQDir::SortSpec sorting() const
Returns the sorting order of the internal list.
Definition: tdefileview.h:176
virtual TQWidget * widget()=0
a pure virtual function to get a TQWidget, that can be added to other widgets.
virtual KFileItem * currentFileItem() const =0
virtual void removeItem(const KFileItem *item)
Removes an item from the list; has to be implemented by the view.
Definition: tdefileview.cpp:346
virtual void ensureItemVisible(const KFileItem *i)=0
pure virtual function, that should be implemented to make item i visible, i.e.
virtual void setSorting(TQDir::SortSpec sort)
Sets the sorting order of the view.
Definition: tdefileview.cpp:151
virtual TDEActionCollection * actionCollection() const
Definition: tdefileview.cpp:365
virtual void setSelected(const KFileItem *, bool enable)=0
Tells the view that it should highlight the item.
virtual bool isSelected(const KFileItem *) const =0
virtual void clearView()=0
pure virtual function, that should be implemented to clear the view.