Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
1.4KB

  1. /*
  2. * DISTRHO Plugin Toolkit (DPT)
  3. * Copyright (C) 2012-2013 Filipe Coelho <falktx@falktx.com>
  4. *
  5. * This program is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU Lesser General Public
  7. * License as published by the Free Software Foundation.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU Lesser General Public License for more details.
  13. *
  14. * For a full copy of the license see the LGPL.txt file
  15. */
  16. #include "DistrhoDefines.h"
  17. #ifdef DISTRHO_UI_QT4
  18. #include "DistrhoUIInternal.h"
  19. START_NAMESPACE_DISTRHO
  20. // -------------------------------------------------
  21. // QEmbedWidget
  22. QEmbedWidget::QEmbedWidget()
  23. {
  24. }
  25. QEmbedWidget::~QEmbedWidget()
  26. {
  27. }
  28. void QEmbedWidget::embedInto(WId id)
  29. {
  30. #ifdef Q_WS_X11
  31. QX11EmbedWidget::embedInto(id);
  32. #endif
  33. }
  34. WId QEmbedWidget::containerWinId() const
  35. {
  36. #ifdef Q_WS_X11
  37. return QX11EmbedWidget::containerWinId();
  38. #endif
  39. }
  40. // -------------------------------------------------
  41. // Qt4UI
  42. Qt4UI::Qt4UI()
  43. : UI(),
  44. QWidget(nullptr)
  45. {
  46. }
  47. Qt4UI::~Qt4UI()
  48. {
  49. }
  50. // -------------------------------------------------
  51. // UI Callbacks
  52. void Qt4UI::d_uiIdle()
  53. {
  54. }
  55. // -------------------------------------------------
  56. END_NAMESPACE_DISTRHO
  57. #endif // DISTRHO_UI_QT4