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

kio/kfile

  • kio
  • kfile
kpreviewwidgetbase.h
1 /* This file is part of the KDE libraries
2  * Copyright (C) 2001 Frerich Raabe <raabe@kde.org>
3  * 2003 Carsten Pfeiffer <pfeiffer@kde.org>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
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 __KPREVIEWWIDGETBASE_H__
22 #define __KPREVIEWWIDGETBASE_H__
23 
24 #include <tqptrdict.h>
25 #include <tqwidget.h>
26 
27 #include <kdelibs_export.h>
28 
29 class KURL;
30 
44 class KIO_EXPORT KPreviewWidgetBase : public TQWidget
45 {
46  Q_OBJECT
47 
48 public:
57  KPreviewWidgetBase(TQWidget *parent, const char *name=0);
58  ~KPreviewWidgetBase();
59 
60 public slots:
67  virtual void showPreview(const KURL &url) = 0;
68 
74  virtual void clearPreview() = 0;
75 
76  TQStringList supportedMimeTypes() const;
77 
78 protected:
79  void setSupportedMimeTypes( const TQStringList& mimeTypes );
80 
81 protected:
82  virtual void virtual_hook( int, void* ) {};
83 
84 private:
85  class KPreviewWidgetBasePrivate;
86  KPreviewWidgetBasePrivate * d() const {
87  return s_private->find( const_cast<KPreviewWidgetBase*>( this ) );
88  }
89  static TQPtrDict<KPreviewWidgetBasePrivate> * s_private;
90 };
91 
92 #endif
KPreviewWidgetBase
Abstract baseclass for all preview widgets which shall be used via KFileDialog::setPreviewWidget(cons...
Definition: kpreviewwidgetbase.h:44

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.8.13
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |