Akonadi

abstractdifferencesreporter.h
1 /*
2  Copyright (c) 2010 KDAB
3  Author: Tobias Koenig <[email protected]>
4 
5  This library is free software; you can redistribute it and/or modify it
6  under the terms of the GNU Library General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or (at your
8  option) any later version.
9 
10  This library is distributed in the hope that it will be useful, but WITHOUT
11  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13  License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to the
17  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18  02110-1301, USA.
19 */
20 
21 #ifndef ABSTRACTDIFFERENCESREPORTER_P_H
22 #define ABSTRACTDIFFERENCESREPORTER_P_H
23 
24 namespace Akonadi
25 {
26 
94 {
95 public:
99  enum Mode {
104  };
105 
110  {
111  }
112 
116  virtual void setPropertyNameTitle(const QString &title) = 0;
117 
122  virtual void setLeftPropertyValueTitle(const QString &title) = 0;
123 
128  virtual void setRightPropertyValueTitle(const QString &title) = 0;
129 
139  virtual void addProperty(Mode mode, const QString &name, const QString &leftValue, const QString &rightValue) = 0;
140 };
141 
142 }
143 
144 #endif
The left column contains a property value that is not available in the right column.
virtual void setPropertyNameTitle(const QString &title)=0
Sets the title of the property name column.
virtual void setRightPropertyValueTitle(const QString &title)=0
Sets the title of the column that shows the property values of the right object.
The left and right column show conflicting property values.
An interface to report differences between two arbitrary objects.
virtual ~AbstractDifferencesReporter()
Destroys the abstract differences reporter.
virtual void addProperty(Mode mode, const QString &name, const QString &leftValue, const QString &rightValue)=0
Adds a new property entry to the table.
Helper integration between Akonadi and Qt.
The right column contains a property value that is not available in the left column.
virtual void setLeftPropertyValueTitle(const QString &title)=0
Sets the title of the column that shows the property values of the left object.
The left and right column show the same property values.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue May 26 2020 22:46:17 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.