TDE personal information management applications
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.

55 lines
1.8KB

  1. /*
  2. This file is part of KAddressbook.
  3. Copyright (c) 2003 Alexander Kellett <lypanov@kde.org>
  4. Tobias Koenig <tokoe@kde.org>
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  16. As a special exception, permission is given to link this program
  17. with any edition of TQt, and distribute the resulting executable,
  18. without including the source code for TQt in the source distribution.
  19. */
  20. #ifndef BOOKMARK_XXPORT_H
  21. #define BOOKMARK_XXPORT_H
  22. #include <xxport.h>
  23. class BookmarkXXPort : public KAB::XXPort
  24. {
  25. Q_OBJECT
  26. TQ_OBJECT
  27. public:
  28. BookmarkXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
  29. TQString identifier() const { return "bookmark"; }
  30. public slots:
  31. bool exportContacts( const KABC::AddresseeList &list, const TQString &data );
  32. signals:
  33. /**
  34. The following signals are used for building a bookmarks file
  35. using KBookmarkDomBuilder.
  36. */
  37. void newBookmark( const TQString &text, const TQCString &url, const TQString &additionnalInfo );
  38. void newFolder( const TQString &text, bool open, const TQString &additionnalInfo );
  39. void newSeparator();
  40. void endFolder();
  41. };
  42. #endif