You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
112 lines
2.3 KiB
112 lines
2.3 KiB
14 years ago
|
//
|
||
|
// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
|
||
|
// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
|
||
|
// may also apply
|
||
|
|
||
|
|
||
|
// Generated by preSip
|
||
12 years ago
|
// module tdeabc version KDE 3.5.3
|
||
14 years ago
|
|
||
|
|
||
|
// This software is free software; you can redistribute it and/or
|
||
|
// modify it under the terms of the GNU General Public License as
|
||
|
// published by the Free Software Foundation; either version 2 of
|
||
|
// the License, or (at your option) any later version.
|
||
|
//
|
||
|
// This software 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 General Public License for more details.
|
||
|
//
|
||
|
// You should have received a copy of the GNU General Public
|
||
|
// License along with this library; see the file COPYING.
|
||
|
// If not, write to the Free Software Foundation, Inc.,
|
||
|
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
|
|
||
12 years ago
|
namespace TDEABC
|
||
14 years ago
|
{
|
||
|
|
||
12 years ago
|
class StdAddressBook : TDEABC::AddressBook
|
||
14 years ago
|
{
|
||
|
%TypeHeaderCode
|
||
12 years ago
|
#include <tdeabc/resource.h>
|
||
14 years ago
|
#include <addressee.h>
|
||
|
#include <addressbook.h>
|
||
|
#include <stdaddressbook.h>
|
||
|
%End
|
||
|
|
||
|
|
||
|
public:
|
||
|
|
||
|
%If ( KDE_3_2_0 - )
|
||
12 years ago
|
static TDEABC::StdAddressBook* self ();
|
||
|
static TDEABC::StdAddressBook* self (bool);
|
||
14 years ago
|
%End
|
||
|
|
||
|
static bool save ();
|
||
|
|
||
|
%If ( KDE_3_1_1 - )
|
||
|
static void handleCrash ();
|
||
|
%End
|
||
|
|
||
13 years ago
|
static TQString fileName ();
|
||
14 years ago
|
|
||
|
%If ( KDE_3_1_0 - )
|
||
13 years ago
|
static TQString directoryName ();
|
||
14 years ago
|
static void setAutomaticSave (bool);
|
||
|
static void close ();
|
||
|
static bool automaticSave ();
|
||
|
|
||
|
%If ( KDE_3_2_0 - )
|
||
12 years ago
|
TDEABC::Addressee whoAmI ();
|
||
|
void setWhoAmI (const TDEABC::Addressee&);
|
||
14 years ago
|
%End
|
||
|
|
||
|
%End
|
||
|
|
||
|
|
||
|
protected:
|
||
|
StdAddressBook ();
|
||
|
|
||
|
%If ( KDE_3_1_0 - )
|
||
|
StdAddressBook (bool);
|
||
|
void init (bool);
|
||
|
|
||
|
%If ( KDE_3_2_2 - )
|
||
|
bool saveAll ();
|
||
|
%End
|
||
|
|
||
|
%End
|
||
|
|
||
|
|
||
|
public:
|
||
|
|
||
|
%If ( - KDE_3_2_0 )
|
||
12 years ago
|
static TDEABC::AddressBook* self ();
|
||
14 years ago
|
%End
|
||
|
|
||
|
|
||
|
%If ( KDE_3_1_0 - KDE_3_2_2 )
|
||
12 years ago
|
static TDEABC::AddressBook* self (bool);
|
||
14 years ago
|
%End
|
||
|
|
||
|
|
||
|
protected:
|
||
|
|
||
|
%If ( - KDE_3_2_0 )
|
||
|
~StdAddressBook ();
|
||
|
%End
|
||
|
|
||
|
|
||
|
public:
|
||
|
|
||
|
%If ( - KDE_3_1_0 )
|
||
13 years ago
|
TQString identifier ();
|
||
14 years ago
|
%End
|
||
|
|
||
|
|
||
|
}; // class StdAddressBook
|
||
|
|
||
12 years ago
|
}; // namespace TDEABC
|
||
14 years ago
|
|