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

tdeio/tdefile

  • tdeio
  • tdefile
tdefilebookmarkhandler.h
1/* This file is part of the KDE libraries
2 Copyright (C) 2002 Carsten Pfeiffer <pfeiffer@kde.org>
3
4 library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation, version 2.
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 TDEFILEBOOKMARKHANDLER_H
20#define TDEFILEBOOKMARKHANDLER_H
21
22#include <kbookmarkmanager.h>
23#include <kbookmarkmenu.h>
24
25class TQTextStream;
26class TDEPopupMenu;
27
28
29class TDEIO_EXPORT KFileBookmarkHandler : public TQObject, public KBookmarkOwner
30{
31 TQ_OBJECT
32
33public:
34 KFileBookmarkHandler( KFileDialog *dialog );
35 ~KFileBookmarkHandler();
36
37 TQPopupMenu * popupMenu();
38
39 // KBookmarkOwner interface:
40 virtual void openBookmarkURL( const TQString& url ) { emit openURL( url ); }
41 virtual TQString currentURL() const;
42
43 TDEPopupMenu *menu() const { return m_menu; }
44
45signals:
46 void openURL( const TQString& url );
47
48private:
49 void importOldBookmarks( const TQString& path, KBookmarkManager *manager );
50
51 KFileDialog *m_dialog;
52 TDEPopupMenu *m_menu;
53 KBookmarkMenu *m_bookmarkMenu;
54
55protected:
56 virtual void virtual_hook( int id, void* data );
57private:
58 class KFileBookmarkHandlerPrivate;
59 KFileBookmarkHandlerPrivate *d;
60};
61
62
63#endif // TDEFILEBOOKMARKHANDLER_H
KFileDialog
Provides a user (and developer) friendly way to select files and directories.
Definition: tdefiledialog.h:77

tdeio/tdefile

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

tdeio/tdefile

Skip menu "tdeio/tdefile"
  • 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/tdefile by doxygen 1.9.4
This website is maintained by Timothy Pearson.