• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kio/bookmarks
 

kio/bookmarks

  • kio
  • bookmarks
kbookmarkimporter_crash.h
1 // -*- c-basic-offset:4; indent-tabs-mode:nil -*-
2 // vim: set ts=4 sts=4 sw=4 et:
3 /* This file is part of the KDE libraries
4  Copyright (C) 2002 Alexander Kellett <lypanov@kde.org>
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License version 2 as published by the Free Software Foundation.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 
21 #ifndef __kbookmarkimporter_crash_h
22 #define __kbookmarkimporter_crash_h
23 
24 #include <tqdom.h>
25 #include <tqcstring.h>
26 #include <tqstringlist.h>
27 #include <tqmap.h>
28 #include <ksimpleconfig.h>
29 #include <kdemacros.h>
30 
31 #include "kbookmarkimporter.h"
32 
37 class KIO_EXPORT_DEPRECATED KCrashBookmarkImporter : public TQObject
38 {
39  Q_OBJECT
40 public:
41  KCrashBookmarkImporter( const TQString & fileName ) : m_fileName(fileName) {}
42  ~KCrashBookmarkImporter() {}
43  void parseCrashBookmarks( bool del = true );
44  static TQString crashBookmarksDir( );
45  static TQStringList getCrashLogs(); // EMPTY!
46 signals:
47  void newBookmark( const TQString & text, const TQCString & url, const TQString & additionalInfo );
48  void newFolder( const TQString & text, bool open, const TQString & additionalInfo );
49  void newSeparator();
50  void endFolder();
51 protected:
52  TQString m_fileName;
53  void parseCrashLog( TQString filename, bool del ); // EMPTY!
54 };
55 
60 class KIO_EXPORT KCrashBookmarkImporterImpl : public KBookmarkImporterBase
61 {
62 public:
63  KCrashBookmarkImporterImpl() : m_shouldDelete(false) { }
64  void setShouldDelete(bool);
65  virtual void parse();
66  virtual TQString findDefaultLocation(bool forSaving = false) const;
67  static TQStringList getCrashLogs();
68 private:
69  bool m_shouldDelete;
70  TQMap<TQString, TQString> parseCrashLog_noemit( const TQString & filename, bool del );
71  class KCrashBookmarkImporterImplPrivate *d;
72 };
73 
74 #endif

kio/bookmarks

Skip menu "kio/bookmarks"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kio/bookmarks

Skip menu "kio/bookmarks"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kio/bookmarks by doxygen 1.8.3.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |