legalnotice.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * Copyright (C) by Roeland Jago Douma <roeland@famdouma.nl>
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful, but
  10. * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  11. * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  12. * for more details.
  13. */
  14. #ifndef LEGALNOTICE_H
  15. #define LEGALNOTICE_H
  16. #include <QDialog>
  17. namespace OCC {
  18. class IgnoreListEditor;
  19. class SyncLogDialog;
  20. namespace Ui {
  21. class LegalNotice;
  22. }
  23. /**
  24. * @brief The LegalNotice class
  25. * @ingroup gui
  26. */
  27. class LegalNotice : public QDialog
  28. {
  29. Q_OBJECT
  30. public:
  31. explicit LegalNotice(QDialog *parent = nullptr);
  32. ~LegalNotice() override;
  33. protected:
  34. void changeEvent(QEvent *) override;
  35. private:
  36. void customizeStyle();
  37. Ui::LegalNotice *_ui;
  38. };
  39. } // namespace OCC
  40. #endif // LEGALNOTICE_H