Source Code (Use browser search to find items of interest.)
Class Index
kdat'ArchiveableNode (./kdeadmin/kdat/Node.h:627)
class ArchiveableNode : public SelectableNode {
protected:
QString _fullPath;
public:
/**
* Create a new archiveable node.
*
* @param type Should be one of the enums.
* @param text Text label for the node.
* @param pixmap A pixmap to display to the left of the text.
* @param state The initial selection state of the node.
*/
ArchiveableNode( int type, const char* text, const QPixmap& pixmap, int state );
/**
* Compute the full path name of this node. Nodes representing
* directories end with a '/'.
*
* @return The full path of the file that this node represents.
*/
virtual const char* getFullPath() = 0;
/**
* Determine whether the node is an instance of the given node type.
*
* @param type The type to compare against.
*/
virtual bool isType( int type );
};
/**
* @short This node represents the root directory of the local filesystem.
*/
kdat'ArchiveableNode::ArchiveableNode() (./kdeadmin/kdat/Node.cpp:891)
ArchiveableNode::ArchiveableNode( int type, const char* text, const QPixmap& pixmap, int state )
: SelectableNode( type, text, pixmap, state )
{
}
kdat'ArchiveableNode::isType() (./kdeadmin/kdat/Node.cpp:896)
bool ArchiveableNode::isType( int type )
{
if ( type == ArchiveableNodeType ) {
return TRUE;
} else {
return SelectableNode::isType( type );
}
}