korganizer Library API Documentation

korganizerifaceimpl.cpp

00001 /* 00002 This file is part of KOrganizer. 00003 00004 Copyright (c) 2004 Bo Thorsen <bo@klaralvdalens-datakonsult.se> 00005 00006 This program is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU Library General Public 00008 License as published by the Free Software Foundation; either 00009 version 2 of the License, or (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 Library General Public License for more details. 00015 00016 You should have received a copy of the GNU Library General Public License 00017 along with this library; see the file COPYING.LIB. If not, write to 00018 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00019 Boston, MA 02111-1307, USA. 00020 00021 In addition, as a special exception, the copyright holders give 00022 permission to link the code of this program with any edition of 00023 the Qt library by Trolltech AS, Norway (or with modified versions 00024 of Qt that use the same license as Qt), and distribute linked 00025 combinations including the two. You must obey the GNU General 00026 Public License in all respects for all of the code used other than 00027 Qt. If you modify this file, you may extend this exception to 00028 your version of the file, but you are not obligated to do so. If 00029 you do not wish to do so, delete this exception statement from 00030 your version. 00031 */ 00032 00033 #include "korganizerifaceimpl.h" 00034 #include "actionmanager.h" 00035 #include "kogroupware.h" 00036 00037 00038 KOrganizerIfaceImpl::KOrganizerIfaceImpl( ActionManager* actionManager, 00039 QObject* parent, const char* name ) 00040 : DCOPObject( "KOrganizerIface" ), QObject( parent, name ), 00041 mActionManager( actionManager ) 00042 { 00043 } 00044 00045 KOrganizerIfaceImpl::~KOrganizerIfaceImpl() 00046 { 00047 } 00048 00049 bool KOrganizerIfaceImpl::openURL( QString url ) 00050 { 00051 return mActionManager->openURL( url ); 00052 } 00053 00054 bool KOrganizerIfaceImpl::mergeURL( QString url ) 00055 { 00056 return mActionManager->mergeURL( url ); 00057 } 00058 00059 void KOrganizerIfaceImpl::closeURL() 00060 { 00061 return mActionManager->closeURL(); 00062 } 00063 00064 bool KOrganizerIfaceImpl::saveURL() 00065 { 00066 return mActionManager->saveURL(); 00067 } 00068 00069 bool KOrganizerIfaceImpl::saveAsURL( QString url ) 00070 { 00071 return mActionManager->saveAsURL( url ); 00072 } 00073 00074 QString KOrganizerIfaceImpl::getCurrentURLasString() const 00075 { 00076 return mActionManager->getCurrentURLasString(); 00077 } 00078 00079 bool KOrganizerIfaceImpl::deleteEvent( QString uid ) 00080 { 00081 return mActionManager->deleteEvent( uid ); 00082 } 00083 00084 bool KOrganizerIfaceImpl::editIncidence( QString uid ) 00085 { 00086 return mActionManager->editIncidence( uid ); 00087 } 00088 00089 bool KOrganizerIfaceImpl::eventRequest( QString request, QString receiver, 00090 QString ical ) 00091 { 00092 return mActionManager->eventRequest( request, receiver, ical ); 00093 } 00094 00095 bool KOrganizerIfaceImpl::eventReply( QString ical ) 00096 { 00097 return mActionManager->eventReply( ical ); 00098 } 00099 00100 bool KOrganizerIfaceImpl::cancelEvent( QString ical ) 00101 { 00102 return mActionManager->cancelEvent( ical ); 00103 } 00104 00105 QString KOrganizerIfaceImpl::formatICal( QString iCal ) 00106 { 00107 if( !KOGroupware::instance() ) return QString(); 00108 return KOGroupware::instance()->formatICal( iCal ); 00109 } 00110 00111 QString KOrganizerIfaceImpl::formatTNEF( QByteArray tnef ) 00112 { 00113 if( !KOGroupware::instance() ) return QString(); 00114 return KOGroupware::instance()->formatTNEF( tnef ); 00115 } 00116 00117 QString KOrganizerIfaceImpl::msTNEFToVPart( QByteArray tnef ) 00118 { 00119 if( !KOGroupware::instance() ) return QString(); 00120 return KOGroupware::instance()->msTNEFToVPart( tnef ); 00121 }
KDE Logo
This file is part of the documentation for korganizer Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 21 19:46:57 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003