summaryrefslogtreecommitdiff
path: root/packages/qpe-vexed/files
diff options
context:
space:
mode:
Diffstat (limited to 'packages/qpe-vexed/files')
-rw-r--r--packages/qpe-vexed/files/.mtn2git_empty0
-rw-r--r--packages/qpe-vexed/files/vit.patch82
2 files changed, 0 insertions, 82 deletions
diff --git a/packages/qpe-vexed/files/.mtn2git_empty b/packages/qpe-vexed/files/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/qpe-vexed/files/.mtn2git_empty
+++ /dev/null
diff --git a/packages/qpe-vexed/files/vit.patch b/packages/qpe-vexed/files/vit.patch
deleted file mode 100644
index c07d46983a..0000000000
--- a/packages/qpe-vexed/files/vit.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- qpe-vexed_arm/mainWidget.cpp~vit
-+++ qpe-vexed_arm/mainWidget.cpp
-@@ -24,7 +24,7 @@
- #include <qhbox.h>
- #include <qpe/qpeapplication.h>
-
--MainWidget::MainWidget(QWidget *parent, const char *name) : QWidget(parent, name) {
-+MainWidget::MainWidget(QWidget *parent, const char *name, WFlags f) : QMainWindow(parent, name, f) {
- this -> setBackgroundMode(PaletteButton);
- this -> setCaption("QPE-Vexed");
-
---- qpe-vexed_arm/mainWidget.h~vit
-+++ qpe-vexed_arm/mainWidget.h
-@@ -28,7 +28,7 @@
- #include "level.h"
- #include "statuslabel.h"
-
--#include <qwidget.h>
-+#include <qmainwindow.h>
- #include <qstring.h>
-
- /*
-@@ -36,10 +36,11 @@
- * Handles allmost all signals
- */
-
--class MainWidget : public QWidget {
-+class MainWidget : public QMainWindow {
- Q_OBJECT
- public:
-- MainWidget(QWidget *parent = NULL, const char *name = NULL);
-+ static QString appName() { return QString::fromLatin1("qpevexed"); }
-+ MainWidget(QWidget *parent = NULL, const char *name = NULL, WFlags f = 0);
- ~MainWidget();
- protected:
- void keyPressEvent(QKeyEvent*);
---- qpe-vexed_arm/qpeVexed.cpp~vit
-+++ qpe-vexed_arm/qpeVexed.cpp
-@@ -18,15 +18,8 @@
- *
- */
-
--#include <qpe/qpeapplication.h>
- #include "mainWidget.h"
-+#include <opie2/oapplicationfactory.h>
-
--int main(int argc, char **argv) {
-- QPEApplication a(argc, argv);
--
-- MainWidget mw;
--
-- a.setMainWidget(&mw);
-- mw.show();
-- a.exec();
--}
-+using namespace Opie::Core;
-+OPIE_EXPORT_APP( OApplicationFactory<MainWidget> )
---- qpe-vexed_arm/statuslabel.cpp~vit
-+++ qpe-vexed_arm/statuslabel.cpp
-@@ -32,6 +32,6 @@
- StatusLabel::~StatusLabel() {}
-
- void StatusLabel::setLabel(const QString& pack, const QString& name, int num) {
-- QString s = QString::number(num);
-+ QString s = QString::number(num+1);
- setText(pack+" ("+s+"):\n\t"+name);
- }
---- qpe-vexed_arm/qpe-vexed.pro~vit
-+++ qpe-vexed_arm/qpe-vexed.pro
-@@ -5,6 +5,6 @@
- SOURCES = button.cpp fileiface.cpp level.cpp mainWidget.cpp menuBar.cpp playingBoard.cpp qpeVexed.cpp stone.cpp about.cpp statuslabel.cpp instruction.cpp
- INCLUDEPATH += $(QPEDIR)/include
- DEPENDPATH += $(QPEDIR)/include
--LIBS += -lqpe -lqte
-+LIBS += -lqpe -lqte -lopiecore2
- #INTERFACES = board_designed.ui
- TARGET = qpe-vexed