umbrello API Documentation

pkgcontentspage.h

00001 /***************************************************************************
00002  *                                                                         *
00003  *   This program is free software; you can redistribute it and/or modify  *
00004  *   it under the terms of the GNU General Public License as published by  *
00005  *   the Free Software Foundation; either version 2 of the License, or     *
00006  *   (at your option) any later version.                                   *
00007  *                                                                         *
00008  *   copyright (C) 2003-2006                                               *
00009  *   Umbrello UML Modeller Authors <uml-devel@uml.sf.net>                  *
00010  ***************************************************************************/
00011 
00012 #ifndef PKGCONTENTSPAGE_H
00013 #define PKGCONTENTSPAGE_H
00014 
00015 #include <qwidget.h>
00016 #include <qgroupbox.h>
00017 #include <qlistbox.h>
00018 #include <qptrlist.h>
00019 
00020 #include "../package.h"
00021 #include "../listpopupmenu.h"
00022 
00028 class PkgContentsPage : public QWidget {
00029     Q_OBJECT
00030 public:
00037     PkgContentsPage(QWidget *parent, UMLPackage *pkg);
00038 
00042     ~PkgContentsPage();
00043 
00044 private:
00045     UMLPackage * m_pPackage;
00046     QListBox * m_pContentLB;
00047     QGroupBox * m_pContentGB;
00048     ListPopupMenu * m_pMenu;
00049 
00053     void fillListBox();
00054 
00055 public slots:
00056     void slotDoubleClick(QListBoxItem * i);
00057     void slotRightButtonClicked(QListBoxItem */* item*/, const QPoint &/* p*/);
00058     void slotRightButtonPressed(QListBoxItem * item, const QPoint & p);
00059     void slotPopupMenuSel(int id);
00060 };
00061 
00062 #endif
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:07:59 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003