kate Library API Documentation

kateprojectdirview.h

00001 /* This file is part of the KDE project
00002    Copyright (C) 2001 Christoph Cullmann <cullmann@kde.org>
00003    Copyright (C) 2001 Joseph Wenninger <jowenn@kde.org>
00004    Copyright (C) 2001 Anders Lund <anders.lund@lund.tdcadsl.dk>
00005 
00006    This library is free software; you can redistribute it and/or
00007    modify it under the terms of the GNU Library General Public
00008    License version 2 as published by the Free Software Foundation.
00009 
00010    This library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Library General Public License for more details.
00014 
00015    You should have received a copy of the GNU Library General Public License
00016    along with this library; see the file COPYING.LIB.  If not, write to
00017    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00018    Boston, MA 02111-1307, USA.
00019 */
00020 
00021 #ifndef __KATE_PROJECTDIRVIEW_H__
00022 #define __KATE_PROJECTDIRVIEW_H__
00023 
00024 #include "katemain.h"
00025 
00026 #include "../interfaces/project.h"
00027 
00028 #include <kfileiconview.h>
00029 #include <kio/job.h>
00030 #include <kio/jobclasses.h>
00031 
00032 class KateProjectDirView : public KFileIconView
00033 {
00034   Q_OBJECT
00035 
00036   public:
00037     KateProjectDirView (Kate::Project *project, const QString &dir, QWidget *parent);
00038     ~KateProjectDirView ();
00039 
00040     static void addDialog (Kate::Project *project, const QString &dir, QWidget *parent);
00041 
00042   private slots:
00043     void entries( KIO::Job *job, const KIO::UDSEntryList& list);
00044 
00045   private:
00046     Kate::Project *m_project;
00047     QString m_relDir;
00048     KIO::ListJob *m_listJob;
00049     KURL m_dir;
00050     QStringList m_dirs;
00051     QStringList m_files;
00052 };
00053 
00054 #endif
KDE Logo
This file is part of the documentation for kate Library Version 3.4.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jun 14 01:53:51 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003