• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kio/kfile
 

kio/kfile

kfiletreeviewitem.h
00001 /* This file is part of the KDE project
00002    Copyright (C) 2000 David Faure <faure@kde.org>
00003                  2000 Carsten Pfeiffer <pfeiffer@kde.org>
00004 
00005    This library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Library General Public
00007    License version 2 as published by the Free Software Foundation.
00008 
00009    This library is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012    Library General Public License for more details.
00013 
00014    You should have received a copy of the GNU Library General Public License
00015    along with this library; see the file COPYING.LIB.  If not, write to
00016    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017    Boston, MA 02110-1301, USA.
00018 */
00019 
00020 #ifndef kfile_tree_view_item_h
00021 #define kfile_tree_view_item_h
00022 
00023 #include <tqptrlist.h>
00024 #include <klistview.h>
00025 
00026 #include <kfileitem.h>
00027 #include <kio/global.h>
00028 #include <kdirlister.h>
00029 #include <kio/job.h>
00030 
00031 class KURL;
00032 class KFileTreeView;
00033 class KFileTreeBranch;
00034 class KFileTreeItem;
00035 
00036 
00040 class KIO_EXPORT KFileTreeViewItem : public KListViewItem
00041 {
00042 public:
00043    KFileTreeViewItem( KFileTreeViewItem*, KFileItem*, KFileTreeBranch * );
00044    KFileTreeViewItem( KFileTreeView*, KFileItem*, KFileTreeBranch * );
00045    ~KFileTreeViewItem();
00046 
00050    KFileTreeBranch* branch() const     { return m_branch; }
00051 
00055    KFileItem *fileItem() const         { return m_kfileitem; }
00056 
00060    TQString path() const;
00061 
00065    KURL    url() const;
00066 
00070    bool    isDir() const;
00071 
00075    bool    alreadyListed() const;
00076 
00080    void    setListed( bool wasListed );
00081 
00082 protected:
00083 
00084 private:
00085 
00086    KFileItem *m_kfileitem;
00087    KFileTreeBranch *m_branch;
00088    bool  m_wasListed;
00089    class KFileTreeViewItemPrivate;
00090    KFileTreeViewItemPrivate *d;
00091 };
00092 
00093 
00097 typedef TQPtrList<KFileTreeViewItem> KFileTreeViewItemList;
00098 
00102 typedef TQPtrListIterator<KFileTreeViewItem> KFileTreeViewItemListIterator;
00103 
00104 
00105 #endif
00106 

kio/kfile

Skip menu "kio/kfile"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kio/kfile

Skip menu "kio/kfile"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kio/kfile by doxygen 1.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |