KDevelop API Documentation

addexistingfilesdlg.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                              -------------------
00003     begin                : Frag' mich was leichteres
00004     copyright            : (C) 2002 by Victor Röder
00005     email                : victor_roeder@gmx.de
00006  ***************************************************************************/
00007 
00008 /***************************************************************************
00009  *                                                                         *
00010  *   This program is free software; you can redistribute it and/or modify  *
00011  *   it under the terms of the GNU General Public License as published by  *
00012  *   the Free Software Foundation; either version 2 of the License, or     *
00013  *   (at your option) any later version.                                   *
00014  *                                                                         *
00015  ***************************************************************************/
00016 
00020 #ifndef ADDEXISTINGFILESDLG_H
00021 #define ADDEXISTINGFILESDLG_H
00022 
00023 #include <qdialog.h>
00024 #include <kfile.h>
00025 
00026 #include "addexistingdlgbase.h"
00027 #include "fileselectorwidget.h"
00028 
00029 #include "misc.h"
00030 
00031 class KImportIconView;
00032 class FileSelectorWidget;
00033 class AutoProjectWidget;
00034 class AutoProjectPart;
00035 class SubprojectItem;
00036 class TargetItem;
00037 class KFileItem;
00038 
00039 class AddExistingFilesDialog : public AddExistingDlgBase
00040 { 
00041     Q_OBJECT
00042 
00043 public:
00044     AddExistingFilesDialog( AutoProjectPart* part, AutoProjectWidget *widget, SubprojectItem* spitem, TargetItem* titem, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00045     ~AddExistingFilesDialog();
00046 
00047 private:
00048     FileSelectorWidget* sourceSelector;
00049     KImportIconView* importView;
00050 
00051     AutoProjectPart* m_part;
00052     AutoProjectWidget* m_widget;
00053 
00054     TargetItem* m_titem;
00055     SubprojectItem* m_spitem;
00056     
00057     KFileItemList m_importList;
00058 
00059 protected:
00060 //  virtual void resizeEvent ( QResizeEvent* ev );
00061     void init();
00062     void importItems ();
00063 
00064 protected slots:
00065     void slotAddSelected();
00066     void slotAddAll();
00067     void slotRemoveAll();
00068     void slotRemoveSelected();
00069     void slotDropped ( QDropEvent* ev );
00070 
00071     void slotOk();
00072 };
00073 
00074 #endif // ADDEXISTINGFILESDLG_H
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:21 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003