kontainer.cpp
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
#include "kontainer.h"
00023
00024 Kontainer::Kontainer(
const QString& first,
const QString& second)
00025 {
00026 m_first = first;
00027 m_second = second;
00028 }
00029
00030 Kontainer::Kontainer(
const Kontainer &tain )
00031 {
00032 (*this) = tain;
00033 }
00034
00035 Kontainer::~Kontainer()
00036 {
00037 }
00038
00039
QString Kontainer::first()
const
00040
{
00041
return m_first;
00042 }
00043
00044
QString Kontainer::second()
const
00045
{
00046
return m_second;
00047 }
00048
00049 Kontainer &Kontainer::operator=(
const Kontainer &con )
00050 {
00051 m_first = con.m_first;
00052 m_second = con.m_second;
00053
return *
this;
00054 }
00055
00056
bool operator== (
const Kontainer &a ,
const Kontainer &b )
00057 {
00058
if ( a.first() == b.first() && a.second() == b.second() )
00059
return true;
00060
00061
return false;
00062 }
This file is part of the documentation for kitchensync Library Version 3.3.0.