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

tdeio/bookmarks

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

tdeio/bookmarks

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

tdeio/bookmarks

Skip menu "tdeio/bookmarks"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/bookmarks by doxygen 1.9.4
This website is maintained by Timothy Pearson.