• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/tdefile
 

tdeio/tdefile

tdefiletreeviewitem.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 TDEFILE_TREE_VIEW_ITEM_H
00021 #define TDEFILE_TREE_VIEW_ITEM_H
00022 
00023 #include <tqptrlist.h>
00024 #include <tdelistview.h>
00025 
00026 #include <tdefileitem.h>
00027 #include <tdeio/global.h>
00028 #include <kdirlister.h>
00029 #include <tdeio/job.h>
00030 
00031 class KURL;
00032 class KFileTreeView;
00033 class KFileTreeBranch;
00034 class KFileTreeItem;
00035 
00036 
00040 class TDEIO_EXPORT KFileTreeViewItem : public TDEListViewItem
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_tdefileitem; }
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_tdefileitem;
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 

tdeio/tdefile

Skip menu "tdeio/tdefile"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

tdeio/tdefile

Skip menu "tdeio/tdefile"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdefile by doxygen 1.7.6.1
This website is maintained by Timothy Pearson.