• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdevelop API Reference
  • KDE Home
  • Contact Us
 

kdevplatform/vcs

  • sources
  • kfour-appscomplete
  • kdevelop
  • kdevplatform
  • vcs
  • models
vcsitemeventmodel.h
Go to the documentation of this file.
1 /***************************************************************************
2  * This file is part of KDevelop *
3  * Copyright 2007 Andreas Pakulat <[email protected]> *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU Library General Public License as *
7  * published by the Free Software Foundation; either version 2 of the *
8  * License, or (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU Library General Public *
16  * License along with this program; if not, write to the *
17  * Free Software Foundation, Inc., *
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
19  ***************************************************************************/
20 
21 #ifndef KDEVPLATFORM_VCSITEMEVENTMODEL_H
22 #define KDEVPLATFORM_VCSITEMEVENTMODEL_H
23 
24 
25 #include <QStandardItemModel>
26 #include <vcs/vcsexport.h>
27 
28 template <typename T> class QList;
29 
30 
31 namespace KDevelop
32 {
33 class VcsItemEvent;
34 
35 class KDEVPLATFORMVCS_EXPORT VcsItemEventModel : public QStandardItemModel
36 {
37 Q_OBJECT
38 public:
39  explicit VcsItemEventModel( QObject* parent );
40  ~VcsItemEventModel() override;
41 
42  QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
43  void addItemEvents( const QList<KDevelop::VcsItemEvent>& );
44  KDevelop::VcsItemEvent itemEventForIndex( const QModelIndex& ) const;
45 };
46 }
47 
48 #endif
KDevelop::VcsItemEvent
Small container class that contains information about a history event of a single repository item.
Definition: vcsevent.h:42
QList
Definition: vcsannotationmodel.h:31
QObject
KDevelop
Definition: dvcsevent.h:33
QModelIndex
KDevelop::VcsItemEventModel
Definition: vcsitemeventmodel.h:34
QStandardItemModel
QVariant
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 23 2021 09:41:52 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kdevplatform/vcs

Skip menu "kdevplatform/vcs"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdevelop API Reference

Skip menu "kdevelop API Reference"
  • kdevplatform
  •   debugger
  •   documentation
  •   interfaces
  •   language
  •     assistant
  •     backgroundparser
  •     checks
  •     classmodel
  •     codecompletion
  •     codegen
  •     duchain
  •     editor
  •     highlighting
  •     interfaces
  •     util
  •   outputview
  •   project
  •   serialization
  •   shell
  •   sublime
  •   tests
  •   util
  •   vcs

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal