File indexing completed on 2024-10-06 04:25:59
0001 /* 0002 SPDX-FileCopyrightText: 1998-2009 Sebastian Trueg <trueg@k3b.org> 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 0006 #ifndef K3BFILEVIEW_H 0007 #define K3BFILEVIEW_H 0008 0009 0010 #include "k3bcontentsview.h" 0011 0012 0013 class QUrl; 0014 class KActionCollection; 0015 class KConfigGroup; 0016 0017 /** 0018 *@author Sebastian Trueg 0019 */ 0020 namespace K3b { 0021 class FileView : public ContentsView 0022 { 0023 Q_OBJECT 0024 0025 public: 0026 explicit FileView(QWidget *parent=0); 0027 ~FileView() override; 0028 0029 void setUrl( const QUrl &url, bool forward = true ); 0030 QUrl url(); 0031 0032 void reload(); 0033 0034 Q_SIGNALS: 0035 void urlEntered( const QUrl& url ); 0036 0037 public Q_SLOTS: 0038 void saveConfig( KConfigGroup grp ); 0039 void readConfig( const KConfigGroup &grp ); 0040 0041 private Q_SLOTS: 0042 void slotFilterChanged(); 0043 0044 private: 0045 class Private; 0046 Private* d; 0047 }; 0048 } 0049 0050 0051 #endif