mirror of
https://github.com/chris2511/xca.git
synced 2026-09-14 11:06:19 +05:00
QObject: Add Q_OBJECT macro where necessary
This commit is contained in:
parent
e78a254b48
commit
a233ec89f9
@ -71,7 +71,7 @@ QSqlError database_model::initSqlDB()
|
||||
}
|
||||
|
||||
if (i != MAX_SCHEMAS)
|
||||
throw errorEx(tr("Failed to update the database schema to the current version"));
|
||||
throw errorEx(QObject::tr("Failed to update the database schema to the current version"));
|
||||
|
||||
TransCommit();
|
||||
return QSqlError();
|
||||
|
||||
@ -18,6 +18,8 @@
|
||||
|
||||
class pkcs11_lib : public QLibrary
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
private:
|
||||
CK_FUNCTION_LIST *p11;
|
||||
QString file, load_error;
|
||||
|
||||
@ -30,6 +30,8 @@ typedef int mode_t;
|
||||
|
||||
class XFile : public QFile
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
private:
|
||||
FILE *filp;
|
||||
BIO *b;
|
||||
|
||||
@ -22,6 +22,8 @@ class xcaWarning: public QMessageBox
|
||||
|
||||
class xcaWarningGui : public QObject, public xcaWarning_i
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
int showBox(const QString &txt, QMessageBox::Icon icn,
|
||||
QMessageBox::StandardButtons b);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user