X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=panel.h;h=918810988534f43e79a02eade0b1a90bacc4e73d;hb=HEAD;hp=d10cb2c2c28f62c9c1838b206e11ef0252d4639e;hpb=06da03204020e69eceb894e51b0b75759acae699;p=gefu%2FGefu.git diff --git a/panel.h b/panel.h index d10cb2c..9188109 100644 --- a/panel.h +++ b/panel.h @@ -3,9 +3,12 @@ #include #include +#include class MainWindow; +class FileReadWorker; class FolderPanel; class FolderModel; +class Preferences; namespace Ui { class Panel; @@ -24,11 +27,18 @@ public: FolderModel* model() const; void setModel(FolderModel *m); void setViewItem(const QModelIndex &index = QModelIndex()); - void updateAppearance(); + void updateAppearance(const Preferences &prefs); QWidget* visibleView() const; private: Ui::Panel *ui; + QPointer m_worker; + +public slots: + void onReady(const QByteArray &data); + +signals: + void showed(QWidget *w); }; #endif // PANEL_H