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

interfaces

  • interfaces
  • tdemediaplayer
  • tdefileaudiopreview
tdefileaudiopreview.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 TDEFILEAUDIOPREVIEW_H
20 #define TDEFILEAUDIOPREVIEW_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 // TDEFILEAUDIOPREVIEW_H
KURL
KFileAudioPreview
Audio "preview" widget for the file dialog.
Definition: tdefileaudiopreview.h:37

interfaces

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

interfaces

Skip menu "interfaces"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for interfaces by doxygen 1.8.8
This website is maintained by Timothy Pearson.