summaryrefslogtreecommitdiffstats
path: root/36c3/Qt/src
diff options
context:
space:
mode:
Diffstat (limited to '36c3/Qt/src')
-rw-r--r--36c3/Qt/src/main.cpp33
-rw-r--r--36c3/Qt/src/src.pro17
-rw-r--r--36c3/Qt/src/window.cpp38
-rw-r--r--36c3/Qt/src/window.h21
4 files changed, 0 insertions, 109 deletions
diff --git a/36c3/Qt/src/main.cpp b/36c3/Qt/src/main.cpp
deleted file mode 100644
index da9b593..0000000
--- a/36c3/Qt/src/main.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Copyright (C) 2019 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <https://www.gnu.org/licenses/>.
- */
-
-#include <QApplication>
-#include "window.h"
-
-int main(int argc, char **argv)
-{
- QApplication app (argc, argv);
-
- Slides slides;
- slides.setTitle("slides");
- slides.showMaximized();
-
- Slides notes;
- slides.setTitle("notes");
- notes.showMaximized();
-
- return app.exec();
-}
diff --git a/36c3/Qt/src/src.pro b/36c3/Qt/src/src.pro
deleted file mode 100644
index ac05f12..0000000
--- a/36c3/Qt/src/src.pro
+++ /dev/null
@@ -1,17 +0,0 @@
-TEMPLATE = app
-TARGET = ../Replicant_sustainability
-
-BUILD_DIR = build
-
-OBJECTS_DIR = $${BUILD_DIR}
-MOC_DIR = $${BUILD_DIR}
-RCC_DIR = $${BUILD_DIR}
-
-QT = core gui
-
-greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
-
-SOURCES += main.cpp
-
-SOURCES += window.cpp
-HEADERS += window.h
diff --git a/36c3/Qt/src/window.cpp b/36c3/Qt/src/window.cpp
deleted file mode 100644
index 61e2084..0000000
--- a/36c3/Qt/src/window.cpp
+++ /dev/null
@@ -1,38 +0,0 @@
-#include <string>
-
-#include "window.h"
-#include <QLabel>
-#include <QPushButton>
-
-
-Slides::Slides(QWidget *parent) : QWidget(parent)
-{
- // Set size of the window
- // setFixedSize(100, 50);
-
- // Create and position the button
- // m_button = new QPushButton("Hello World", this);
- // m_button->setGeometry(10, 10, 80, 30);
-
- QLabel title {"Replicant"};
-
- // connect(
- // m_button,
- // SIGNAL(released()),
- // this,
- // SLOT(handleButton())
- // );
- title.show();
-}
-
-void Slides::setTitle(const QString& title)
-{
- // m_button->setText(title);
-}
-
-void Slides::handleButton()
-{
- m_button->setText("Example");
-// m_button->resize(100,100);
-// std::cout << "Hello world";
-}
diff --git a/36c3/Qt/src/window.h b/36c3/Qt/src/window.h
deleted file mode 100644
index 1036441..0000000
--- a/36c3/Qt/src/window.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef WINDOW_H
-#define WINDOW_H
-
-#include <string>
-#include <QWidget>
-
-class QPushButton;
-
-class Slides : public QWidget
-{
- Q_OBJECT
-public:
- explicit Slides(QWidget *parent = 0);
-public slots:
- void handleButton();
- void setTitle(const QString& title);
-private:
- QPushButton *m_button;
-};
-
-#endif // WINDOW_H