KDevelop API Documentation

choosesubprojectdlg.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2003 by Alexander Dymo                                  *
00003  *   cloudtemple@mksat.net                                                 *
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 CHOOSESUBPROJECTDLG_H
00013 #define CHOOSESUBPROJECTDLG_H
00014 
00015 #include <klistview.h>
00016 
00017 #include "choosesubprojectdlgbase.h"
00018 
00019 class SubqmakeprojectItem;
00020 class TrollProjectWidget;
00021 
00022 class ChooseItem: public KListViewItem
00023 {
00024 public:
00025     ChooseItem(SubqmakeprojectItem *spitem, QListViewItem *parent, QString text);
00026     ChooseItem(SubqmakeprojectItem *spitem, QListView *parent, QString text);
00027 
00028     SubqmakeprojectItem *subproject();
00029 
00030 private:
00031     SubqmakeprojectItem *m_spitem;
00032 };
00033 
00034 class ChooseSubprojectDlg : public ChooseSubprojectDlgBase
00035 {
00036   Q_OBJECT
00037 
00038 public:
00039   ChooseSubprojectDlg(TrollProjectWidget *widget, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00040   ~ChooseSubprojectDlg();
00041   /*$PUBLIC_FUNCTIONS$*/
00042 
00043   SubqmakeprojectItem *selectedSubproject();
00044 
00045 public slots:
00046   /*$PUBLIC_SLOTS$*/
00047 
00048 protected:
00049   /*$PROTECTED_FUNCTIONS$*/
00050   TrollProjectWidget *m_widget;
00051 
00052 protected slots:
00053   /*$PROTECTED_SLOTS$*/
00054   virtual void          accept();
00055   virtual void itemSelected(QListViewItem *it);
00056 
00057 private:
00058     void fillSubprojectsView(ChooseItem *item);
00059 
00060 };
00061 
00062 #endif
00063 
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:23 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003