akonadi
abstractdifferencesreporter.h
00001 /* 00002 Copyright (c) 2010 KDAB 00003 Author: Tobias Koenig <tokoe@kde.org> 00004 00005 This library is free software; you can redistribute it and/or modify it 00006 under the terms of the GNU Library General Public License as published by 00007 the Free Software Foundation; either version 2 of the License, or (at your 00008 option) any later version. 00009 00010 This library is distributed in the hope that it will be useful, but WITHOUT 00011 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00012 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 00013 License for more details. 00014 00015 You should have received a copy of the GNU Library General Public License 00016 along with this library; see the file COPYING.LIB. If not, write to the 00017 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00018 02110-1301, USA. 00019 */ 00020 00021 #ifndef ABSTRACTDIFFERENCESREPORTER_P_H 00022 #define ABSTRACTDIFFERENCESREPORTER_P_H 00023 00024 namespace Akonadi { 00025 00092 class AbstractDifferencesReporter 00093 { 00094 public: 00098 enum Mode 00099 { 00100 NormalMode, 00101 ConflictMode, 00102 AdditionalLeftMode, 00103 AdditionalRightMode 00104 }; 00105 00109 virtual ~AbstractDifferencesReporter() {} 00110 00114 virtual void setPropertyNameTitle( const QString &title ) = 0; 00115 00120 virtual void setLeftPropertyValueTitle( const QString &title ) = 0; 00121 00126 virtual void setRightPropertyValueTitle( const QString &title ) = 0; 00127 00137 virtual void addProperty( Mode mode, const QString &name, const QString &leftValue, const QString &rightValue ) = 0; 00138 }; 00139 00140 } 00141 00142 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 14 2012 04:52:51 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 14 2012 04:52:51 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.