+2010-08-12 Andre Heinecke <aheinecke@intevation.de>
+
+ * pinentrydialog.cpp (PinEntryDialog): Connect signal with standard type
+ * pinentrydialog.cpp (updateQuality): use const QString & to avoid connect
+ problems.
+ * pinentrydialog.h (PinEntryDialog): Change declaration of updateQuality
+ slot
+ * pinentrydialog.moc: Update to reflect signal changes
+
2010-08-09 Andre Heinecke <aheinecke@intevation.de>
* CMakelists.txt: Disable some Microsoft-CRT deprecation warnings
connect( buttons, SIGNAL(accepted()), this, SLOT(accept()) );
connect( buttons, SIGNAL(rejected()), this, SLOT(reject()) );
- connect( _edit, SIGNAL( textChanged(secqstring) ),
- this, SLOT( updateQuality(secqstring) ) );
+ connect( _edit, SIGNAL( textChanged(const QString &) ),
+ this, SLOT( updateQuality(const QString &) ) );
_edit->setFocus();
/****************************************************************************
** Meta object code from reading C++ file 'pinentrydialog.h'
**
-** Created: Mon Mar 16 13:03:03 2009
-** by: The Qt Meta Object Compiler version 59 (Qt 4.4.1)
+** Created: Wed Aug 11 16:38:30 2010
+** by: The Qt Meta Object Compiler version 62 (Qt 4.8.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "pinentrydialog.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'pinentrydialog.h' doesn't include <QObject>."
-#elif Q_MOC_OUTPUT_REVISION < 59
-#error "This file was generated using the moc from 4.4.1. It"
+#elif Q_MOC_OUTPUT_REVISION != 62
+#error "This file was generated using the moc from 4.8.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
static const uint qt_meta_data_PinEntryDialog[] = {
// content:
- 1, // revision
+ 5, // revision
0, // classname
0, 0, // classinfo
- 1, 10, // methods
- 4, 15, // properties
+ 1, 14, // methods
+ 4, 19, // properties
0, 0, // enums/sets
+ 0, 0, // constructors
+ 0, // flags
+ 0, // signalCount
// slots: signature, parameters, type, tag, flags
16, 15, 15, 15, 0x0a,
// properties: name, type, flags
- 50, 42, 0x0a095103,
- 62, 42, 0x0a095103,
- 79, 68, 0x0009510b,
- 83, 42, 0x0a095103,
+ 47, 39, 0x0a095103,
+ 59, 39, 0x0a095103,
+ 76, 65, 0x0009510b,
+ 80, 39, 0x0a095103,
0 // eod
};
static const char qt_meta_stringdata_PinEntryDialog[] = {
- "PinEntryDialog\0\0updateQuality(secqstring)\0"
+ "PinEntryDialog\0\0updateQuality(QString)\0"
"QString\0description\0error\0secqstring\0"
"pin\0prompt\0"
};
qt_meta_data_PinEntryDialog, 0 }
};
+#ifdef Q_NO_DATA_RELOCATION
+const QMetaObject &PinEntryDialog::getStaticMetaObject() { return staticMetaObject; }
+#endif //Q_NO_DATA_RELOCATION
+
const QMetaObject *PinEntryDialog::metaObject() const
{
- return &staticMetaObject;
+ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}
void *PinEntryDialog::qt_metacast(const char *_clname)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
switch (_id) {
- case 0: updateQuality((*reinterpret_cast< const secqstring(*)>(_a[1]))); break;
+ case 0: updateQuality((*reinterpret_cast< const QString(*)>(_a[1]))); break;
+ default: ;
}
_id -= 1;
}