notify.cpp
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #include "notify.h"
00023
00024 using namespace KSync;
00025
00026 Notify::Notify( int code, const QString& text ){
00027 m_code = code;
00028 m_text = text;
00029 }
00030 Notify::Notify( const QString& text ) {
00031 m_code = -1;
00032 m_text = text;
00033 }
00034 Notify::~Notify() {
00035
00036 }
00037 bool Notify::operator==( const Notify& rhs) {
00038 if ( m_code != rhs.m_code ) return false;
00039 if ( m_text != rhs.m_text ) return false;
00040
00041 return true;
00042 }
00043 int Notify::code()const{
00044 return m_code;
00045 }
00046 QString Notify::text()const{
00047 return m_text;
00048 }
This file is part of the documentation for kitchensync Library Version 3.3.2.