browsewidget.h 694 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef BROWSEWIDGET_H
  2. #define BROWSEWIDGET_H
  3. #include <QWidget>
  4. #include <QSettings>
  5. #include <models/lotrodatmanager.h>
  6. namespace Ui {
  7. class BrowseWidget;
  8. }
  9. class BrowseWidget : public QWidget
  10. {
  11. Q_OBJECT
  12. public:
  13. explicit BrowseWidget(LotroDatManager* mgr, QSettings* settings, QWidget *parent = 0);
  14. ~BrowseWidget();
  15. private slots:
  16. void on_find_button_common_clicked();
  17. void on_getFileInfoButton_common_clicked();
  18. void onLotroLocaleFileContentsReceived(int, LOTRO_DAT::SubfileData);
  19. void onLotroLocaleFileInfoReceived(int, QString);
  20. private:
  21. LotroDatManager* lotro_manager;
  22. QSettings* settings;
  23. Ui::BrowseWidget *ui;
  24. };
  25. #endif // BROWSEWIDGET_H