Open Source Snapmatic picture and Savegame viewer/editor for GTA V https://gta5view.syping.de/

ProfileWidget.cpp 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /*****************************************************************************
  2. * gta5view Grand Theft Auto V Profile Viewer
  3. * Copyright (C) 2016-2017 Syping
  4. *
  5. * This program 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. * This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
  17. *****************************************************************************/
  18. #include "ProfileWidget.h"
  19. #include <QDebug>
  20. ProfileWidget::ProfileWidget(QWidget *parent) : QWidget(parent)
  21. {
  22. contentMode = 0;
  23. }
  24. ProfileWidget::~ProfileWidget()
  25. {
  26. }
  27. void ProfileWidget::retranslate()
  28. {
  29. qDebug() << "ProfileWidget::retranslate got used without overwrite";
  30. }
  31. bool ProfileWidget::isSelected()
  32. {
  33. qDebug() << "ProfileWidget::isSelected got used without overwrite";
  34. return false;
  35. }
  36. void ProfileWidget::setSelected(bool isSelected)
  37. {
  38. qDebug() << "ProfileWidget::setSelected got used without overwrite, result" << isSelected;
  39. }
  40. void ProfileWidget::setSelectionMode(bool selectionMode)
  41. {
  42. qDebug() << "ProfileWidget::setSelectionMode got used without overwrite, result:" << selectionMode;
  43. }
  44. QString ProfileWidget::getWidgetType()
  45. {
  46. qDebug() << "ProfileWidget::getWidgetType got used without overwrite";
  47. return "ProfileWidget";
  48. }
  49. int ProfileWidget::getContentMode()
  50. {
  51. return contentMode;
  52. }
  53. void ProfileWidget::setContentMode(int _contentMode)
  54. {
  55. contentMode = _contentMode;
  56. }