/src/LoadXSPFDialog.h

http://github.com/tomahawk-player/tomahawk · C Header · 43 lines · 18 code · 8 blank · 17 comment · 0 complexity · b48a2d0ad87c3be33fe970fe68834cf4 MD5 · raw file

  1. /* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
  2. *
  3. * Copyright 2010-2011, Leo Franchi <lfranchi@kde.org>
  4. *
  5. * Tomahawk is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation, either version 3 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * Tomahawk is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with Tomahawk. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #ifndef LOADXSPFDIALOG_H
  19. #define LOADXSPFDIALOG_H
  20. #include <QDialog>
  21. class Ui_LoadXSPF;
  22. class LoadXSPFDialog : public QDialog
  23. {
  24. Q_OBJECT
  25. public:
  26. explicit LoadXSPFDialog( QWidget* parent = 0, Qt::WindowFlags f = 0 );
  27. virtual ~LoadXSPFDialog();
  28. QString xspfUrl() const;
  29. bool autoUpdate() const;
  30. public slots:
  31. void getLocalFile();
  32. private:
  33. Ui_LoadXSPF* m_ui;
  34. };
  35. #endif // LOADXSPFDIALOG_H