mirror of
https://github.com/hyprwm/hyprland-qtutils.git
synced 2024-12-27 13:29:48 +01:00
14 lines
298 B
C++
14 lines
298 B
C++
|
#include "Dialog.hpp"
|
||
|
#include <print>
|
||
|
#include <hyprutils/string/String.hpp>
|
||
|
using namespace Hyprutils::String;
|
||
|
|
||
|
CDialog::CDialog(QObject* parent) : QObject(parent) {
|
||
|
;
|
||
|
}
|
||
|
|
||
|
void CDialog::onButtonPress(QString buttonName) {
|
||
|
std::print("{}\n", trim(buttonName.toStdString()));
|
||
|
exit(0);
|
||
|
}
|