[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] [PATCH] KPIM::Part for better integration
From: Tobias Koenig <tokoe () kde ! org>
Date: 2004-07-27 8:02:11
Message-ID: 20040727080211.GB587 () ghostdog ! localnet
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
[Attachment #4 (multipart/mixed)]
On Mon, Jul 26, 2004 at 11:47:00PM +0200, Holger Freyther wrote:
> On Monday 26 July 2004 23:22, Tobias Koenig wrote:
Hi Holger,
> > Ok for commit?
>
> Did you not use cvs diff -uN? as I seem not to see the KPIM::Part in the
> patch.
Oops, here they are...
Ciao,
Tobias
--
Separate politics from religion and economy!
["part.h" (text/x-chdr)]
/*
This file is part of libkdepim.
Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#ifndef KPIM_PART_H
#define KPIM_PART_H
#include <kparts/part.h>
namespace KPIM {
/**
This special part should be used as base class for all applications
which shall be integrated in Kontact.
*/
class Part : public KParts::ReadOnlyPart
{
Q_OBJECT
public:
Part( QObject *parent, const char *name );
virtual ~Part();
signals:
/**
Emit this signal whenever the plugin with this part shall be
raised inside Kontact.
*/
void raise();
};
}
#endif
["part.cpp" (text/x-c++src)]
/*
This file is part of libkdepim.
Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#include "part.h"
using namespace KPIM;
Part::Part( QObject *parent, const char *name )
: KParts::ReadOnlyPart( parent, name )
{
}
Part::~Part()
{
}
#include "part.moc"
["signature.asc" (application/pgp-signature)]
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic