diff options
author | Ken Moore <ken@ixsystems.com> | 2017-04-27 23:48:24 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-04-27 23:48:24 -0400 |
commit | 8eba2f4ad58f6f9cc087e544e5f69a3285a99f10 (patch) | |
tree | e17acae30ebd4ca46d93b9589947202b8d8be8c1 /src-qt5/desktop-utils/lumina-notify/main.cpp | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-8eba2f4ad58f6f9cc087e544e5f69a3285a99f10.tar.gz lumina-8eba2f4ad58f6f9cc087e544e5f69a3285a99f10.tar.bz2 lumina-8eba2f4ad58f6f9cc087e544e5f69a3285a99f10.zip |
Move the unfinished utilities in Lumina over to an "experimental" directory.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-notify/main.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-notify/main.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src-qt5/desktop-utils/lumina-notify/main.cpp b/src-qt5/desktop-utils/lumina-notify/main.cpp deleted file mode 100644 index c0e3bd05..00000000 --- a/src-qt5/desktop-utils/lumina-notify/main.cpp +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------- -// Created by q5sys (JT) -// Released under MIT License 2017-03-08 -// A Simple GUI Dialog Program -//------------------------------------------------- - -#include <QApplication> -#include <QMessageBox> -#include <QDebug> -#include <QTextStream> - -int main(int argc, char *argv[]) -{ - QApplication a(argc, argv); - int answer; - QMessageBox *messageBox = new QMessageBox; - messageBox->setText(argv[1]); - QPushButton *pushButtonOk = messageBox->addButton(argv[2], QMessageBox::AcceptRole); - QPushButton *pushButtonNo = messageBox->addButton(argv[3], QMessageBox::RejectRole); - messageBox->QDialog::setWindowTitle(argv[4]); - messageBox->show(); - if(messageBox->exec() == QMessageBox::AcceptRole){ answer = 0; QTextStream cout(stdout); cout << answer;} - else { answer = 1; QTextStream cout(stdout); cout << answer;} -} |