Pulizia repository
authorEmmanuel Granatello <emmanuel.granatello@intecs.it>
Mon, 1 Mar 2010 11:46:10 +0000 (12:46 +0100)
committerEmmanuel Granatello <emmanuel.granatello@intecs.it>
Mon, 1 Mar 2010 11:46:10 +0000 (12:46 +0100)
moc_crazybutton.cpp [deleted file]
moc_mainwindow.cpp [deleted file]
moc_mainwindow.o [deleted file]
moc_testThread.cpp [deleted file]
ui_mainwindow.h [deleted file]

diff --git a/moc_crazybutton.cpp b/moc_crazybutton.cpp
deleted file mode 100644 (file)
index 453a3fd..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-/****************************************************************************
-** Meta object code from reading C++ file 'crazybutton.h'
-**
-** Created: Fri Feb 26 16:31:33 2010
-**      by: The Qt Meta Object Compiler version 62 (Qt 4.6.1)
-**
-** WARNING! All changes made in this file will be lost!
-*****************************************************************************/
-
-#include "crazybutton.h"
-#if !defined(Q_MOC_OUTPUT_REVISION)
-#error "The header file 'crazybutton.h' doesn't include <QObject>."
-#elif Q_MOC_OUTPUT_REVISION != 62
-#error "This file was generated using the moc from 4.6.1. It"
-#error "cannot be used with the include files from this version of Qt."
-#error "(The moc has changed too much.)"
-#endif
-
-QT_BEGIN_MOC_NAMESPACE
-static const uint qt_meta_data_CrazyButton[] = {
-
- // content:
-       4,       // revision
-       0,       // classname
-       0,    0, // classinfo
-       1,   14, // methods
-       0,    0, // properties
-       0,    0, // enums/sets
-       0,    0, // constructors
-       0,       // flags
-       0,       // signalCount
-
- // slots: signature, parameters, type, tag, flags
-      13,   12,   12,   12, 0x0a,
-
-       0        // eod
-};
-
-static const char qt_meta_stringdata_CrazyButton[] = {
-    "CrazyButton\0\0changeColor()\0"
-};
-
-const QMetaObject CrazyButton::staticMetaObject = {
-    { &QPushButton::staticMetaObject, qt_meta_stringdata_CrazyButton,
-      qt_meta_data_CrazyButton, 0 }
-};
-
-#ifdef Q_NO_DATA_RELOCATION
-const QMetaObject &CrazyButton::getStaticMetaObject() { return staticMetaObject; }
-#endif //Q_NO_DATA_RELOCATION
-
-const QMetaObject *CrazyButton::metaObject() const
-{
-    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
-}
-
-void *CrazyButton::qt_metacast(const char *_clname)
-{
-    if (!_clname) return 0;
-    if (!strcmp(_clname, qt_meta_stringdata_CrazyButton))
-        return static_cast<void*>(const_cast< CrazyButton*>(this));
-    return QPushButton::qt_metacast(_clname);
-}
-
-int CrazyButton::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
-{
-    _id = QPushButton::qt_metacall(_c, _id, _a);
-    if (_id < 0)
-        return _id;
-    if (_c == QMetaObject::InvokeMetaMethod) {
-        switch (_id) {
-        case 0: changeColor(); break;
-        default: ;
-        }
-        _id -= 1;
-    }
-    return _id;
-}
-QT_END_MOC_NAMESPACE
diff --git a/moc_mainwindow.cpp b/moc_mainwindow.cpp
deleted file mode 100644 (file)
index 5d1d827..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-/****************************************************************************
-** Meta object code from reading C++ file 'mainwindow.h'
-**
-** Created: Mon Mar 1 12:31:40 2010
-**      by: The Qt Meta Object Compiler version 62 (Qt 4.6.1)
-**
-** WARNING! All changes made in this file will be lost!
-*****************************************************************************/
-
-#include "mainwindow.h"
-#if !defined(Q_MOC_OUTPUT_REVISION)
-#error "The header file 'mainwindow.h' doesn't include <QObject>."
-#elif Q_MOC_OUTPUT_REVISION != 62
-#error "This file was generated using the moc from 4.6.1. It"
-#error "cannot be used with the include files from this version of Qt."
-#error "(The moc has changed too much.)"
-#endif
-
-QT_BEGIN_MOC_NAMESPACE
-static const uint qt_meta_data_MainWindow[] = {
-
- // content:
-       4,       // revision
-       0,       // classname
-       0,    0, // classinfo
-      14,   14, // methods
-       0,    0, // properties
-       0,    0, // enums/sets
-       0,    0, // constructors
-       0,       // flags
-       1,       // signalCount
-
- // signals: signature, parameters, type, tag, flags
-      19,   12,   11,   11, 0x05,
-
- // slots: signature, parameters, type, tag, flags
-      45,   42,   11,   11, 0x0a,
-      64,   11,   11,   11, 0x0a,
-      73,   11,   11,   11, 0x0a,
-      82,   11,   11,   11, 0x0a,
-      91,   11,   11,   11, 0x0a,
-     100,   11,   11,   11, 0x0a,
-     109,   11,   11,   11, 0x0a,
-     118,   11,   11,   11, 0x0a,
-     127,   11,   11,   11, 0x0a,
-     136,   11,   11,   11, 0x0a,
-     145,   11,   11,   11, 0x0a,
-     160,   11,   11,   11, 0x0a,
-     173,   11,   11,   11, 0x0a,
-
-       0        // eod
-};
-
-static const char qt_meta_stringdata_MainWindow[] = {
-    "MainWindow\0\0button\0cliccatoIlBottone(int)\0"
-    "id\0cliccaBottone(int)\0clickA()\0clickB()\0"
-    "clickC()\0clickD()\0clickE()\0clickF()\0"
-    "clickG()\0clickH()\0clickI()\0sbagliato(int)\0"
-    "disableAll()\0enableAll()\0"
-};
-
-const QMetaObject MainWindow::staticMetaObject = {
-    { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow,
-      qt_meta_data_MainWindow, 0 }
-};
-
-#ifdef Q_NO_DATA_RELOCATION
-const QMetaObject &MainWindow::getStaticMetaObject() { return staticMetaObject; }
-#endif //Q_NO_DATA_RELOCATION
-
-const QMetaObject *MainWindow::metaObject() const
-{
-    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
-}
-
-void *MainWindow::qt_metacast(const char *_clname)
-{
-    if (!_clname) return 0;
-    if (!strcmp(_clname, qt_meta_stringdata_MainWindow))
-        return static_cast<void*>(const_cast< MainWindow*>(this));
-    return QMainWindow::qt_metacast(_clname);
-}
-
-int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
-{
-    _id = QMainWindow::qt_metacall(_c, _id, _a);
-    if (_id < 0)
-        return _id;
-    if (_c == QMetaObject::InvokeMetaMethod) {
-        switch (_id) {
-        case 0: cliccatoIlBottone((*reinterpret_cast< int(*)>(_a[1]))); break;
-        case 1: cliccaBottone((*reinterpret_cast< int(*)>(_a[1]))); break;
-        case 2: clickA(); break;
-        case 3: clickB(); break;
-        case 4: clickC(); break;
-        case 5: clickD(); break;
-        case 6: clickE(); break;
-        case 7: clickF(); break;
-        case 8: clickG(); break;
-        case 9: clickH(); break;
-        case 10: clickI(); break;
-        case 11: sbagliato((*reinterpret_cast< int(*)>(_a[1]))); break;
-        case 12: disableAll(); break;
-        case 13: enableAll(); break;
-        default: ;
-        }
-        _id -= 14;
-    }
-    return _id;
-}
-
-// SIGNAL 0
-void MainWindow::cliccatoIlBottone(int _t1)
-{
-    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
-    QMetaObject::activate(this, &staticMetaObject, 0, _a);
-}
-QT_END_MOC_NAMESPACE
diff --git a/moc_mainwindow.o b/moc_mainwindow.o
deleted file mode 100644 (file)
index 0f7a29a..0000000
Binary files a/moc_mainwindow.o and /dev/null differ
diff --git a/moc_testThread.cpp b/moc_testThread.cpp
deleted file mode 100644 (file)
index f6655c9..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-/****************************************************************************
-** Meta object code from reading C++ file 'testThread.h'
-**
-** Created: Fri Feb 26 16:31:34 2010
-**      by: The Qt Meta Object Compiler version 62 (Qt 4.6.1)
-**
-** WARNING! All changes made in this file will be lost!
-*****************************************************************************/
-
-#include "testThread.h"
-#if !defined(Q_MOC_OUTPUT_REVISION)
-#error "The header file 'testThread.h' doesn't include <QObject>."
-#elif Q_MOC_OUTPUT_REVISION != 62
-#error "This file was generated using the moc from 4.6.1. It"
-#error "cannot be used with the include files from this version of Qt."
-#error "(The moc has changed too much.)"
-#endif
-
-QT_BEGIN_MOC_NAMESPACE
-static const uint qt_meta_data_TestThread[] = {
-
- // content:
-       4,       // revision
-       0,       // classname
-       0,    0, // classinfo
-       7,   14, // methods
-       0,    0, // properties
-       0,    0, // enums/sets
-       0,    0, // constructors
-       0,       // flags
-       5,       // signalCount
-
- // signals: signature, parameters, type, tag, flags
-      14,   12,   11,   11, 0x05,
-      28,   11,   11,   11, 0x05,
-      35,   11,   11,   11, 0x05,
-      46,   11,   11,   11, 0x05,
-      65,   11,   11,   11, 0x05,
-
- // slots: signature, parameters, type, tag, flags
-      93,   83,   11,   11, 0x0a,
-     112,   11,   11,   11, 0x0a,
-
-       0        // eod
-};
-
-static const char qt_meta_stringdata_TestThread[] = {
-    "TestThread\0\0a\0generate(int)\0exit()\0"
-    "score(int)\0disableInterface()\0"
-    "enableInterface()\0inputUser\0"
-    "updateCaption(int)\0genera()\0"
-};
-
-const QMetaObject TestThread::staticMetaObject = {
-    { &QThread::staticMetaObject, qt_meta_stringdata_TestThread,
-      qt_meta_data_TestThread, 0 }
-};
-
-#ifdef Q_NO_DATA_RELOCATION
-const QMetaObject &TestThread::getStaticMetaObject() { return staticMetaObject; }
-#endif //Q_NO_DATA_RELOCATION
-
-const QMetaObject *TestThread::metaObject() const
-{
-    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
-}
-
-void *TestThread::qt_metacast(const char *_clname)
-{
-    if (!_clname) return 0;
-    if (!strcmp(_clname, qt_meta_stringdata_TestThread))
-        return static_cast<void*>(const_cast< TestThread*>(this));
-    return QThread::qt_metacast(_clname);
-}
-
-int TestThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
-{
-    _id = QThread::qt_metacall(_c, _id, _a);
-    if (_id < 0)
-        return _id;
-    if (_c == QMetaObject::InvokeMetaMethod) {
-        switch (_id) {
-        case 0: generate((*reinterpret_cast< int(*)>(_a[1]))); break;
-        case 1: exit(); break;
-        case 2: score((*reinterpret_cast< int(*)>(_a[1]))); break;
-        case 3: disableInterface(); break;
-        case 4: enableInterface(); break;
-        case 5: updateCaption((*reinterpret_cast< int(*)>(_a[1]))); break;
-        case 6: genera(); break;
-        default: ;
-        }
-        _id -= 7;
-    }
-    return _id;
-}
-
-// SIGNAL 0
-void TestThread::generate(int _t1)
-{
-    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
-    QMetaObject::activate(this, &staticMetaObject, 0, _a);
-}
-
-// SIGNAL 1
-void TestThread::exit()
-{
-    QMetaObject::activate(this, &staticMetaObject, 1, 0);
-}
-
-// SIGNAL 2
-void TestThread::score(int _t1)
-{
-    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
-    QMetaObject::activate(this, &staticMetaObject, 2, _a);
-}
-
-// SIGNAL 3
-void TestThread::disableInterface()
-{
-    QMetaObject::activate(this, &staticMetaObject, 3, 0);
-}
-
-// SIGNAL 4
-void TestThread::enableInterface()
-{
-    QMetaObject::activate(this, &staticMetaObject, 4, 0);
-}
-QT_END_MOC_NAMESPACE
diff --git a/ui_mainwindow.h b/ui_mainwindow.h
deleted file mode 100644 (file)
index bd820d5..0000000
+++ /dev/null
@@ -1,172 +0,0 @@
-/********************************************************************************
-** Form generated from reading UI file 'mainwindow.ui'
-**
-** Created: Sat 27. Feb 14:00:09 2010
-**      by: Qt User Interface Compiler version 4.6.2
-**
-** WARNING! All changes made in this file will be lost when recompiling UI file!
-********************************************************************************/
-
-#ifndef UI_MAINWINDOW_H
-#define UI_MAINWINDOW_H
-
-#include <QtCore/QVariant>
-#include <QtGui/QAction>
-#include <QtGui/QApplication>
-#include <QtGui/QButtonGroup>
-#include <QtGui/QHBoxLayout>
-#include <QtGui/QHeaderView>
-#include <QtGui/QLCDNumber>
-#include <QtGui/QMainWindow>
-#include <QtGui/QVBoxLayout>
-#include <QtGui/QWidget>
-#include "crazybutton.h"
-
-QT_BEGIN_NAMESPACE
-
-class Ui_MainWindow
-{
-public:
-    QWidget *centralWidget;
-    QWidget *verticalLayoutWidget;
-    QVBoxLayout *verticalLayout;
-    QHBoxLayout *horizontalLayout_4;
-    QLCDNumber *lcdNumber;
-    QHBoxLayout *horizontalLayout;
-    CrazyButton *pushButton;
-    CrazyButton *pushButton_2;
-    CrazyButton *pushButton_3;
-    QHBoxLayout *horizontalLayout_2;
-    CrazyButton *pushButton_4;
-    CrazyButton *pushButton_5;
-    CrazyButton *pushButton_6;
-    QHBoxLayout *horizontalLayout_3;
-    CrazyButton *pushButton_7;
-    CrazyButton *pushButton_8;
-    CrazyButton *pushButton_9;
-
-    void setupUi(QMainWindow *MainWindow)
-    {
-        if (MainWindow->objectName().isEmpty())
-            MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
-        MainWindow->resize(800, 480);
-        MainWindow->setAutoFillBackground(true);
-        centralWidget = new QWidget(MainWindow);
-        centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
-        verticalLayoutWidget = new QWidget(centralWidget);
-        verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget"));
-        verticalLayoutWidget->setGeometry(QRect(150, 140, 241, 120));
-        verticalLayout = new QVBoxLayout(verticalLayoutWidget);
-        verticalLayout->setSpacing(6);
-        verticalLayout->setContentsMargins(11, 11, 11, 11);
-        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
-        verticalLayout->setContentsMargins(0, 0, 0, 0);
-        horizontalLayout_4 = new QHBoxLayout();
-        horizontalLayout_4->setSpacing(6);
-        horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
-        lcdNumber = new QLCDNumber(verticalLayoutWidget);
-        lcdNumber->setObjectName(QString::fromUtf8("lcdNumber"));
-
-        horizontalLayout_4->addWidget(lcdNumber);
-
-
-        verticalLayout->addLayout(horizontalLayout_4);
-
-        horizontalLayout = new QHBoxLayout();
-        horizontalLayout->setSpacing(6);
-        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
-        pushButton = new CrazyButton(verticalLayoutWidget);
-        pushButton->setObjectName(QString::fromUtf8("pushButton"));
-        pushButton->setMinimumSize(QSize(0, 0));
-#ifndef QT_NO_TOOLTIP
-        pushButton->setToolTip(QString::fromUtf8(""));
-#endif // QT_NO_TOOLTIP
-
-        horizontalLayout->addWidget(pushButton);
-
-        pushButton_2 = new CrazyButton(verticalLayoutWidget);
-        pushButton_2->setObjectName(QString::fromUtf8("pushButton_2"));
-        pushButton_2->setMaximumSize(QSize(16777215, 16777215));
-
-        horizontalLayout->addWidget(pushButton_2);
-
-        pushButton_3 = new CrazyButton(verticalLayoutWidget);
-        pushButton_3->setObjectName(QString::fromUtf8("pushButton_3"));
-
-        horizontalLayout->addWidget(pushButton_3);
-
-
-        verticalLayout->addLayout(horizontalLayout);
-
-        horizontalLayout_2 = new QHBoxLayout();
-        horizontalLayout_2->setSpacing(6);
-        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
-        pushButton_4 = new CrazyButton(verticalLayoutWidget);
-        pushButton_4->setObjectName(QString::fromUtf8("pushButton_4"));
-
-        horizontalLayout_2->addWidget(pushButton_4);
-
-        pushButton_5 = new CrazyButton(verticalLayoutWidget);
-        pushButton_5->setObjectName(QString::fromUtf8("pushButton_5"));
-
-        horizontalLayout_2->addWidget(pushButton_5);
-
-        pushButton_6 = new CrazyButton(verticalLayoutWidget);
-        pushButton_6->setObjectName(QString::fromUtf8("pushButton_6"));
-
-        horizontalLayout_2->addWidget(pushButton_6);
-
-
-        verticalLayout->addLayout(horizontalLayout_2);
-
-        horizontalLayout_3 = new QHBoxLayout();
-        horizontalLayout_3->setSpacing(6);
-        horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
-        pushButton_7 = new CrazyButton(verticalLayoutWidget);
-        pushButton_7->setObjectName(QString::fromUtf8("pushButton_7"));
-
-        horizontalLayout_3->addWidget(pushButton_7);
-
-        pushButton_8 = new CrazyButton(verticalLayoutWidget);
-        pushButton_8->setObjectName(QString::fromUtf8("pushButton_8"));
-
-        horizontalLayout_3->addWidget(pushButton_8);
-
-        pushButton_9 = new CrazyButton(verticalLayoutWidget);
-        pushButton_9->setObjectName(QString::fromUtf8("pushButton_9"));
-
-        horizontalLayout_3->addWidget(pushButton_9);
-
-
-        verticalLayout->addLayout(horizontalLayout_3);
-
-        MainWindow->setCentralWidget(centralWidget);
-
-        retranslateUi(MainWindow);
-
-        QMetaObject::connectSlotsByName(MainWindow);
-    } // setupUi
-
-    void retranslateUi(QMainWindow *MainWindow)
-    {
-        MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8));
-        pushButton->setText(QApplication::translate("MainWindow", "1", 0, QApplication::UnicodeUTF8));
-        pushButton_2->setText(QApplication::translate("MainWindow", "2", 0, QApplication::UnicodeUTF8));
-        pushButton_3->setText(QApplication::translate("MainWindow", "3", 0, QApplication::UnicodeUTF8));
-        pushButton_4->setText(QApplication::translate("MainWindow", "4", 0, QApplication::UnicodeUTF8));
-        pushButton_5->setText(QApplication::translate("MainWindow", "5", 0, QApplication::UnicodeUTF8));
-        pushButton_6->setText(QApplication::translate("MainWindow", "6", 0, QApplication::UnicodeUTF8));
-        pushButton_7->setText(QApplication::translate("MainWindow", "7", 0, QApplication::UnicodeUTF8));
-        pushButton_8->setText(QApplication::translate("MainWindow", "8", 0, QApplication::UnicodeUTF8));
-        pushButton_9->setText(QApplication::translate("MainWindow", "9", 0, QApplication::UnicodeUTF8));
-    } // retranslateUi
-
-};
-
-namespace Ui {
-    class MainWindow: public Ui_MainWindow {};
-} // namespace Ui
-
-QT_END_NAMESPACE
-
-#endif // UI_MAINWINDOW_H