Nav apraksta

secondwindow.h 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #ifndef SECONDWINDOW_H
  2. #define SECONDWINDOW_H
  3. #include <QWidget>
  4. class secondwindow : public QWidget
  5. {
  6. Q_OBJECT
  7. public:
  8. /// \fn secondwindow
  9. /// \~English
  10. /// \brief Constructor.
  11. /// \param parent this object's parent
  12. /// \~Spanish
  13. /// \brief Constructor
  14. /// \param parent ventana padre
  15. explicit secondwindow(QWidget *parent = 0);
  16. signals:
  17. /// \fn closeIt
  18. /// \~English
  19. /// \brief Just a signal that will be emitted when closing
  20. /// objects of this class
  21. /// \param dummy this parameter is just for making this signal compatible with
  22. /// type of slot it will be connected.
  23. /// \~Spanish
  24. /// \brief Señal que será emitida al cerrar objetos de esta clase
  25. /// \param dummy este parameterro existe para que la señal sea compatible con el
  26. /// slot al que será conectada.
  27. void closeIt(bool dummy);
  28. protected:
  29. /// \fn closeEvent
  30. /// \~English
  31. /// \brief Overloaded function that is called when an object of this class is closed.
  32. /// \~Spanish
  33. /// \brief Función sobrecargada que es invocada cuando se cierra un objeto de
  34. /// esta clase.
  35. virtual void closeEvent(QCloseEvent *);
  36. public slots:
  37. };
  38. #endif // SECONDWINDOW_H