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

tdeio/bookmarks

kbookmarkimporter_crash.h

00001 //  -*- c-basic-offset:4; indent-tabs-mode:nil -*-
00002 // vim: set ts=4 sts=4 sw=4 et:
00003 /* This file is part of the KDE libraries
00004    Copyright (C) 2002 Alexander Kellett <lypanov@kde.org>
00005 
00006    This library is free software; you can redistribute it and/or
00007    modify it under the terms of the GNU Library General Public
00008    License version 2 as published by the Free Software Foundation.
00009 
00010    This library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Library General Public License for more details.
00014 
00015    You should have received a copy of the GNU Library General Public License
00016    along with this library; see the file COPYING.LIB.  If not, write to
00017    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018    Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef __kbookmarkimporter_crash_h
00022 #define __kbookmarkimporter_crash_h
00023 
00024 #include <tqdom.h>
00025 #include <tqcstring.h>
00026 #include <tqstringlist.h>
00027 #include <tqmap.h>
00028 #include <ksimpleconfig.h>
00029 #include <kdemacros.h>
00030 
00031 #include "kbookmarkimporter.h"
00032 
00037 class TDEIO_EXPORT_DEPRECATED TDECrashBookmarkImporter : public TQObject
00038 {
00039     Q_OBJECT
00040 public:
00041     TDECrashBookmarkImporter( const TQString & fileName ) : m_fileName(fileName) {}
00042     ~TDECrashBookmarkImporter() {}
00043     void parseCrashBookmarks( bool del = true );
00044     static TQString crashBookmarksDir( );
00045     static TQStringList getCrashLogs(); // EMPTY!
00046 signals:
00047     void newBookmark( const TQString & text, const TQCString & url, const TQString & additionalInfo );
00048     void newFolder( const TQString & text, bool open, const TQString & additionalInfo );
00049     void newSeparator();
00050     void endFolder();
00051 protected:
00052     TQString m_fileName;
00053     void parseCrashLog( TQString filename, bool del ); // EMPTY!
00054 };
00055 
00060 class TDEIO_EXPORT TDECrashBookmarkImporterImpl : public KBookmarkImporterBase
00061 {
00062 public:
00063     TDECrashBookmarkImporterImpl() : m_shouldDelete(false) { }
00064     void setShouldDelete(bool);
00065     virtual void parse();
00066     virtual TQString findDefaultLocation(bool forSaving = false) const;
00067     static TQStringList getCrashLogs();
00068 private:
00069     bool m_shouldDelete;
00070     TQMap<TQString, TQString> parseCrashLog_noemit( const TQString & filename, bool del );
00071     class TDECrashBookmarkImporterImplPrivate *d;
00072 };
00073 
00074 #endif

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.6.3
This website is maintained by Timothy Pearson.