filelist_part.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2004 by Jens Dagerbo * 00003 * jens.dagerbo@swipnet.se * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 ***************************************************************************/ 00011 00012 #ifndef __KDEVPART_FILELIST_H__ 00013 #define __KDEVPART_FILELIST_H__ 00014 00015 00016 #include <qguardedptr.h> 00017 #include <kdevplugin.h> 00018 00019 00020 class FileListWidget; 00021 class KURL::List; 00022 /* 00023 // @fixme - this should be in kdevpartcontroller 00024 enum DocumentState 00025 { 00026 Clean, 00027 Modified, 00028 Dirty, 00029 DirtyAndModified 00030 }; 00031 */ 00032 class FileListPart : public KDevPlugin 00033 { 00034 Q_OBJECT 00035 00036 public: 00037 00038 FileListPart(QObject *parent, const char *name, const QStringList &); 00039 ~FileListPart(); 00040 KURL::List openFiles(); 00041 00042 private: 00043 QGuardedPtr<FileListWidget> m_widget; 00044 00045 }; 00046 00047 00048 #endif 00049 00050 // kate: space-indent off; indent-width 4; tab-width 4; show-tabs off;