From 80327b8a07c5ed963d7d35341a3959399f5cac5d Mon Sep 17 00:00:00 2001 From: Emmanuel Granatello Date: Mon, 1 Mar 2010 12:46:10 +0100 Subject: [PATCH] Pulizia repository --- moc_crazybutton.cpp | 79 ----------------------- moc_mainwindow.cpp | 118 ----------------------------------- moc_mainwindow.o | Bin 8420 -> 0 bytes moc_testThread.cpp | 128 -------------------------------------- ui_mainwindow.h | 172 --------------------------------------------------- 5 files changed, 497 deletions(-) delete mode 100644 moc_crazybutton.cpp delete mode 100644 moc_mainwindow.cpp delete mode 100644 moc_mainwindow.o delete mode 100644 moc_testThread.cpp delete mode 100644 ui_mainwindow.h diff --git a/moc_crazybutton.cpp b/moc_crazybutton.cpp deleted file mode 100644 index 453a3fd..0000000 --- a/moc_crazybutton.cpp +++ /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 ." -#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(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 index 5d1d827..0000000 --- a/moc_mainwindow.cpp +++ /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 ." -#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(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(reinterpret_cast(&_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 index 0f7a29a4552ae4b34f3269bfa94c2b17090d98ce..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8420 zcmd^FeQX@X6`!+B>r#jCnWjL?r5JF4m|K6FLUCfB6XV3Wi|qsg;e5VZ`@p8O0=k|s3;X`sT2x-q-u)tN7VH9+nw3l z9p44|cSjn(`Mvk%z4>@EyZg=uquYl=p^#7|BpO8(3GvpaT}hWi+Qd3>nIpdtn0hUe zu5si-OjiEB9Bp16Xj&dvzjVxQ-go@y&nbF|fA$?;f&B1?ZAYUmmFVfC(NmS7))wfW zh@PVS#87Lqq)nuirq+{Z&z(E>`tg;Oqc2=fmeaqlvhVbA^x{hS%<{gL%0p+D%gxIV zT@G8#m3v#8DqXFW2U}a5o=e9T+Lqofw;n#T=D^iQ?d!$4)+L%*sYKs{-pq=lwH$r# z@X3poVH6f0I$Qa0-*H#2q#wMyyr&7QUsoY8)_eF z3^jv#2=xin=TLu*`YtJSpOJ>9K*Qjjuk1)#`8`%XT{s}bblJ8Gd6CLmsZ`P~jAXYI z$S~WiyuDFaX(YCNL{(#0HMXk8Hq{tGqcokI&028pdQDrU z;O(lx zyQc;(U4xga!JDtaJ6MBvqz3OBHF!_f;Qh1)53K*Ya;E+&N^h-K` z>e!Pu1{lO-$P$*6>*}}n0_>fF9_{hIRrVOO0ee_T^$rG+XPWng0Ly&QJqljCFjs`0U{_7+XC9`CQeVnY_?*YA^}ZFqQ1!S@wtD|?JV`t;j-2Ew=b zpp!+}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PlGE0_(Sdf!N~E&M zQYm5MDVnhIGX(}1QoH`85aRRr1_xFoO6rE0z zA~DpAZ~lfWg}8_-y_{1#EYa~f?d*U-F#z1 zEAo2CIneJUXv6hzh7v-XpW3AS#3N;nft24pq|8;3VyF(qP#hYT6s8^ACh5(RMkMW$ zl=-314Q`&F;}{?Yb^LFX{*jM!{9h;iuao|7l>TpWbNwMW3A6tuH(wcQck_p#TZC}@ z!@1+%5W?}_;pV48ozg#;j{j~UhG?e;IYUw;thSS4urbnpw~oe diff --git a/moc_testThread.cpp b/moc_testThread.cpp deleted file mode 100644 index f6655c9..0000000 --- a/moc_testThread.cpp +++ /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 ." -#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(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(reinterpret_cast(&_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(reinterpret_cast(&_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 index bd820d5..0000000 --- a/ui_mainwindow.h +++ /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 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#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 -- 1.7.9.5