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

kompare

  • sources
  • kde-4.14
  • kdesdk
  • kompare
  • interfaces
kompareinterface.cpp
Go to the documentation of this file.
1 /*
2  Copyright 2002-2004 Otto Bruggeman <otto.bruggeman@home.nl>
3 
4  This program is free software; you can redistribute it and/or
5  modify it under the terms of the GNU General Public License as
6  published by the Free Software Foundation; either version 2 of
7  the License or (at your option) version 3 or any later version
8  accepted by the membership of KDE e.V. (or its successor approved
9  by the membership of KDE e.V.), which shall act as a proxy
10  defined in Section 14 of version 3 of the license.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20 #include "kompareinterface.h"
21 
22 class KompareInterfacePrivate
23 {
24 public:
25  KompareInterfacePrivate();
26  ~KompareInterfacePrivate();
27  KompareInterfacePrivate( const KompareInterfacePrivate& );
28  KompareInterfacePrivate& operator=( const KompareInterfacePrivate& );
29 
30 protected:
31  // Add all variables for the KompareInterface class here and access them through the kip pointer
32 };
33 
34 KompareInterfacePrivate::KompareInterfacePrivate()
35 {
36 }
37 
38 KompareInterfacePrivate::~KompareInterfacePrivate()
39 {
40 }
41 
42 KompareInterfacePrivate::KompareInterfacePrivate( const KompareInterfacePrivate& /*kip*/ )
43 {
44 }
45 
46 KompareInterfacePrivate& KompareInterfacePrivate::operator=(const KompareInterfacePrivate& /*kip*/ )
47 {
48  return *this;
49 }
50 
51 KompareInterface::KompareInterface()
52 {
53  kip = new KompareInterfacePrivate();
54 }
55 
56 KompareInterface::~KompareInterface()
57 {
58  delete kip;
59 }
60 
61 KompareInterface::KompareInterface( const KompareInterface& ki )
62 {
63  kip = new KompareInterfacePrivate( *(ki.kip) );
64 }
65 
66 KompareInterface& KompareInterface::operator=( const KompareInterface& ki )
67 {
68  kip = ki.kip;
69  return *this;
70 }
71 
72 void KompareInterface::setEncoding( const QString& encoding )
73 {
74  m_encoding = encoding;
75 }
76 
KompareInterface::operator=
KompareInterface & operator=(const KompareInterface &)
Definition: kompareinterface.cpp:66
KompareInterface::setEncoding
virtual void setEncoding(const QString &encoding)
This will set the encoding to use for all files that are read or for the diffoutput.
Definition: kompareinterface.cpp:72
KompareInterface::KompareInterface
KompareInterface()
Definition: kompareinterface.cpp:51
KompareInterface
Definition: kompareinterface.h:32
KompareInterface::~KompareInterface
virtual ~KompareInterface()
Definition: kompareinterface.cpp:56
QString
kompareinterface.h
KompareInterface::kip
KompareInterfacePrivate * kip
Definition: kompareinterface.h:127
KompareInterface::m_encoding
QString m_encoding
Definition: kompareinterface.h:128
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kompare

Skip menu "kompare"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello

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