Logo Search packages:      
Sourcecode: kdeadmin-kde4 version File versions  Download package

MountedTapeDirectoryNode Class Reference

#include <Node.h>

Inheritance diagram for MountedTapeDirectoryNode:

RangeableNode SelectableNode Node KTreeViewItem

List of all members.


Detailed Description

This node represents a single directory within a mounted archive.

Definition at line 488 of file Node.h.


Public Types

enum  {
  ArchiveableNodeType, ArchiveNodeType, BackupProfileNodeType, BackupProfileRootNodeType,
  DirectoryNodeType, FileNodeType, MountedArchiveNodeType, MountedTapeDirectoryNodeType,
  MountedTapeFileNodeType, NodeType, RangeableNodeType, RootNodeType,
  SelectableNodeType, TapeNodeType, TapeDirectoryNodeType, TapeDriveNodeType,
  TapeFileNodeType, TapeIndexRootNodeType
}

Public Member Functions

void appendChild (KTreeViewItem *newChild)
KTreeViewItemchildAt (int index) const
uint childCount () const
int childIndex (KTreeViewItem *child) const
virtual void collapsed ()
bool expandButtonClicked (const QPoint &coord) const
virtual void expanded ()
virtual void expanding (bool expand=TRUE)
KTreeViewItemgetChild () const
FilegetFile ()
QString getFullPath ()
KTreeViewItemgetParent () const
const QPixmap & getPixmap () const
virtual const Q3PtrList< Range > & getRanges ()
KTreeViewItemgetSibling () const
const QString & getText () const
int getType ()
bool hasChild () const
bool hasParent () const
bool hasSelectedChildren ()
bool hasSibling () const
void insertChild (int index, KTreeViewItem *newChild)
bool isExpanded () const
bool isSelected ()
virtual bool isType (int type)
bool isVisible () const
 MountedTapeDirectoryNode (File *file, int state)
virtual void popupMenu (const QPoint &p)
bool removeChild (KTreeViewItem *child)
virtual void selected ()
void setDelayedExpanding (bool flag)
void setDeleteChildren (bool flag)
void setDrawExpandButton (bool doit)
void setDrawText (bool doit)
void setDrawTree (bool doit)
void setExpanded (bool is)
void setPixmap (const QPixmap &pm)
virtual void setSelected (bool selected)
void setText (const QString &t)

Protected Types

enum  { SelAll, SelNone, SelSome }

Protected Member Functions

virtual QRect boundingRect (int indent) const
void doSetSelected (bool select)
void doUpdateState ()
const QPixmap * getSelectPixmap () const
virtual int height (const QFontMetrics &fm) const
virtual int height () const
void insertNode (Node *child)
virtual bool mousePressEvent (const QPoint &point)
virtual void paint (QPainter *p, int indent, const QColorGroup &cg, bool highlighted) const
virtual void paintExpandButton (QPainter *p, int indent, int cellHeight) const
virtual void paintHighlight (QPainter *p, int indent, const QColorGroup &cg, bool hasFocus, Qt::GUIStyle style) const
virtual void paintText (QPainter *p, int indent, int cellHeight, const QColorGroup &cg, bool highlighted) const
virtual void paintTree (QPainter *p, int indent, int cellHeight) const
void synchNumChildren ()
virtual QRect textBoundingRect (int indent) const
virtual int width (int indent) const
virtual int width (int indent, const QFontMetrics &fm) const

Protected Attributes

QRect _selectRect
int _state
KTreeViewItemchild
bool delayedExpanding
bool deleteChildren
bool doExpandButton
bool doText
bool doTree
QRect expandButton
bool expanded
int numChildren
KTreeViewowner
KTreeViewItemparent
QPixmap pixmap
KTreeViewItemsibling
QString text

Private Attributes

File_file
QString _fullPath

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

Generated by  Doxygen 1.6.0   Back to index