F:/KPlato/koffice/kplato/KPtViewAdaptor.h

Aller à la documentation de ce fichier.
00001 /*  This file is part of the KDE project
00002     Copyright (C) 2006 Stefan Nikolaus <stefan.nikolaus@kdemail.net>
00003               (C) 2004 Laurent Montel <montel@kde.org>
00004 
00005     This library is free software; you can redistribute it and/or
00006     modify it under the terms of the GNU Lesser General Public
00007     License as published by the Free Software Foundation; either
00008     version 2 of the License, or (at your option) any later version.
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     Lesser General Public License for more details.
00014 
00015     You should have received a copy of the GNU Lesser General Public
00016     License along with this library; if not, write to the Free Software
00017     Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018     Boston, MA  02110-1301  USA
00019 */
00020 
00021 #ifndef KPT_VIEW_ADAPTOR_H
00022 #define KPT_VIEW_ADAPTOR_H
00023 
00024 #include <KoViewAdaptor.h>
00025 
00026 #include <QString>
00027 #include <qrect.h>
00028 #include <QColor>
00029 
00030 namespace KPlato
00031 {
00032 
00033 class View;
00034 
00035 class ViewAdaptor : public KoViewAdaptor
00036 {
00037     Q_OBJECT
00038     Q_CLASSINFO("D-Bus Interface", "org.kde.koffice.projectmanaging.view")
00039 
00040 public:
00041     ViewAdaptor( View* );
00042     virtual ~ViewAdaptor();
00043 
00044 public Q_SLOTS:
00045     void slotEditResource();
00046     void slotEditCut();
00047     void slotEditCopy();
00048     void slotEditPaste();
00049     void slotViewGantt();
00050     void slotViewResources();
00051     void slotAddTask();
00052     void slotAddSubTask();
00053     void slotAddMilestone();
00054     void slotProjectEdit();
00055     void slotConfigure();
00056 
00057 private:
00058     View* m_view;
00059 };
00060 
00061 }  //KPlato namespace
00062 
00063 #endif

Généré le Wed Nov 22 23:40:58 2006 pour KPlato par  doxygen 1.5.1-p1