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

kio/kfile

  • kio
  • kfile
kfilebookmarkhandler.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 KFILEBOOKMARKHANDLER_H
20 #define KFILEBOOKMARKHANDLER_H
21 
22 #include <kbookmarkmanager.h>
23 #include <kbookmarkmenu.h>
24 
25 class TQTextStream;
26 class KPopupMenu;
27 
28 
29 class KIO_EXPORT KFileBookmarkHandler : public TQObject, public KBookmarkOwner
30 {
31  Q_OBJECT
32 
33 public:
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  KPopupMenu *menu() const { return m_menu; }
44 
45 signals:
46  void openURL( const TQString& url );
47 
48 private:
49  void importOldBookmarks( const TQString& path, KBookmarkManager *manager );
50 
51  KFileDialog *m_dialog;
52  KPopupMenu *m_menu;
53  KBookmarkMenu *m_bookmarkMenu;
54 
55 protected:
56  virtual void virtual_hook( int id, void* data );
57 private:
58  class KFileBookmarkHandlerPrivate;
59  KFileBookmarkHandlerPrivate *d;
60 };
61 
62 
63 #endif // KFILEBOOKMARKHANDLER_H
KFileDialog
Provides a user (and developer) friendly way to select files and directories.
Definition: kfiledialog.h:78

kio/kfile

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

kio/kfile

Skip menu "kio/kfile"
  • 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/kfile by doxygen 1.9.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |