• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • interfaces
 

interfaces

  • interfaces
  • kmediaplayer
  • kfileaudiopreview
kfileaudiopreview.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 2003 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 KFILEAUDIOPREVIEW_H
20 #define KFILEAUDIOPREVIEW_H
21 
22 #include <tqdict.h>
23 
24 #include <kurl.h>
25 #include <kpreviewwidgetbase.h>
26 
27 class TQCheckBox;
28 class TQPushButton;
29 class TQLabel;
30 
31 class KFileDialog;
32 class KFileItem;
33 
37 class KFileAudioPreview : public KPreviewWidgetBase
38 {
39  Q_OBJECT
40 
41 public:
42  KFileAudioPreview(TQWidget *parent = 0, const char *name = 0 );
43  ~KFileAudioPreview();
44 
45 public slots:
46  virtual void showPreview(const KURL &url);
47  virtual void clearPreview();
48 
49 private slots:
50  void toggleAuto(bool);
51 
52 private:
53  TQDict<void> m_supportedFormats;
54  KURL m_currentURL;
55  TQCheckBox *m_autoPlay;
56 
57 protected:
58  virtual void virtual_hook( int id, void* data );
59 private:
60  class KFileAudioPreviewPrivate;
61  KFileAudioPreviewPrivate *d;
62 };
63 
64 #endif // KFILEAUDIOPREVIEW_H

interfaces

Skip menu "interfaces"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

interfaces

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