• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDE3Support

Public Member Functions | List of all members
K3FileTreeViewItem Class Reference

#include <k3filetreeviewitem.h>

Inheritance diagram for K3FileTreeViewItem:
Inheritance graph
[legend]

Public Member Functions

 K3FileTreeViewItem (K3FileTreeViewItem *, const KFileItem &, KFileTreeBranch *)
 
 K3FileTreeViewItem (K3FileTreeView *, const KFileItem &, KFileTreeBranch *)
 
 ~K3FileTreeViewItem ()
 
bool alreadyListed () const
 
KFileTreeBranch * branch () const
 
KFileItem fileItem () const
 
bool isDir () const
 
QString path () const
 
void setListed (bool wasListed)
 
KUrl url () const
 
- Public Member Functions inherited from K3ListViewItem
 K3ListViewItem (Q3ListView *parent)
 
 K3ListViewItem (Q3ListViewItem *parent)
 
 K3ListViewItem (Q3ListView *parent, Q3ListViewItem *after)
 
 K3ListViewItem (Q3ListViewItem *parent, Q3ListViewItem *after)
 
 K3ListViewItem (Q3ListView *parent, const QString &label1, const QString &label2=QString(), const QString &label3=QString(), const QString &label4=QString(), const QString &label5=QString(), const QString &label6=QString(), const QString &labem7=QString(), const QString &label7=QString())
 
 K3ListViewItem (Q3ListViewItem *parent, const QString &label1, const QString &label2=QString(), const QString &label3=QString(), const QString &label4=QString(), const QString &label5=QString(), const QString &label6=QString(), const QString &labem7=QString(), const QString &label7=QString())
 
 K3ListViewItem (Q3ListView *parent, Q3ListViewItem *after, const QString &label1, const QString &label2=QString(), const QString &label3=QString(), const QString &label4=QString(), const QString &label5=QString(), const QString &label6=QString(), const QString &labem7=QString(), const QString &label7=QString())
 
 K3ListViewItem (Q3ListViewItem *parent, Q3ListViewItem *after, const QString &label1, const QString &label2=QString(), const QString &label3=QString(), const QString &label4=QString(), const QString &label5=QString(), const QString &label6=QString(), const QString &labem7=QString(), const QString &label7=QString())
 
virtual ~K3ListViewItem ()
 
const QColor & backgroundColor ()
 
QColor backgroundColor (int column)
 
virtual void insertItem (Q3ListViewItem *item)
 
bool isAlternate ()
 
virtual void paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int alignment)
 
virtual void takeItem (Q3ListViewItem *item)
 

Detailed Description

An item for a K3FileTreeView that knows about its own KFileItem.

Definition at line 41 of file k3filetreeviewitem.h.

Constructor & Destructor Documentation

K3FileTreeViewItem::K3FileTreeViewItem ( K3FileTreeViewItem *  parent,
const KFileItem &  item,
KFileTreeBranch *  brnch 
)

Definition at line 29 of file k3filetreeviewitem.cpp.

K3FileTreeViewItem::K3FileTreeViewItem ( K3FileTreeView *  parent,
const KFileItem &  item,
KFileTreeBranch *  brnch 
)

Definition at line 43 of file k3filetreeviewitem.cpp.

K3FileTreeViewItem::~K3FileTreeViewItem ( )

Definition at line 57 of file k3filetreeviewitem.cpp.

Member Function Documentation

bool K3FileTreeViewItem::alreadyListed ( ) const
Returns
if this directory was already seen by a KDirLister.

Definition at line 63 of file k3filetreeviewitem.cpp.

KFileTreeBranch* K3FileTreeViewItem::branch ( ) const
inline
Returns
the KFileTreeBranch the item is sorted in.

Definition at line 51 of file k3filetreeviewitem.h.

KFileItem K3FileTreeViewItem::fileItem ( ) const
inline
Returns
the KFileItem the viewitem is representing.

Definition at line 56 of file k3filetreeviewitem.h.

bool K3FileTreeViewItem::isDir ( ) const
Returns
if the item represents a directory

Definition at line 83 of file k3filetreeviewitem.cpp.

QString K3FileTreeViewItem::path ( ) const
Returns
the path of the item.

Definition at line 78 of file k3filetreeviewitem.cpp.

void K3FileTreeViewItem::setListed ( bool  wasListed)

set the flag if the directory was already listed.

Definition at line 68 of file k3filetreeviewitem.cpp.

KUrl K3FileTreeViewItem::url ( ) const
Returns
the items KUrl

Definition at line 73 of file k3filetreeviewitem.cpp.


The documentation for this class was generated from the following files:
  • k3filetreeviewitem.h
  • k3filetreeviewitem.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDE3Support

Skip menu "KDE3Support"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal