Adaptation for AuroraOS
This commit is contained in:
parent
f554f1f950
commit
cf5ae5c902
32 changed files with 1791 additions and 88 deletions
32
app/app.pro
32
app/app.pro
|
@ -1,4 +1,5 @@
|
||||||
NAME = books
|
NAME = harbour.books
|
||||||
|
ORIGINAL_NAME = books
|
||||||
|
|
||||||
openrepos {
|
openrepos {
|
||||||
PREFIX = openrepos
|
PREFIX = openrepos
|
||||||
|
@ -7,9 +8,10 @@ openrepos {
|
||||||
PREFIX = harbour
|
PREFIX = harbour
|
||||||
}
|
}
|
||||||
|
|
||||||
TARGET = $${PREFIX}-$${NAME}
|
PREFIX = org.monich
|
||||||
CONFIG += sailfishapp link_pkgconfig
|
TARGET = $${PREFIX}.$${NAME}
|
||||||
PKGCONFIG += sailfishapp mlite5 glib-2.0
|
CONFIG += auroraapp link_pkgconfig
|
||||||
|
PKGCONFIG += auroraapp mlite5 glib-2.0
|
||||||
|
|
||||||
app_settings {
|
app_settings {
|
||||||
# This path is hardcoded in jolla-settings
|
# This path is hardcoded in jolla-settings
|
||||||
|
@ -51,7 +53,7 @@ LIBS += \
|
||||||
|
|
||||||
OTHER_FILES += \
|
OTHER_FILES += \
|
||||||
icons/harbour-books.svg \
|
icons/harbour-books.svg \
|
||||||
*.desktop \
|
$${TARGET}.desktop \
|
||||||
qml/*.qml \
|
qml/*.qml \
|
||||||
qml/*.js \
|
qml/*.js \
|
||||||
qml/images/* \
|
qml/images/* \
|
||||||
|
@ -231,20 +233,6 @@ qml_components.files = $${HARBOUR_QML_COMPONENTS}
|
||||||
qml_components.path = /usr/share/$${TARGET}/qml/harbour
|
qml_components.path = /usr/share/$${TARGET}/qml/harbour
|
||||||
INSTALLS += qml_components
|
INSTALLS += qml_components
|
||||||
|
|
||||||
# Icons
|
|
||||||
ICON_SIZES = 86 108 128 172 256
|
|
||||||
for(s, ICON_SIZES) {
|
|
||||||
icon_target = icon$${s}
|
|
||||||
icon_dir = icons/$${s}x$${s}
|
|
||||||
$${icon_target}.files = $${icon_dir}/$${TARGET}.png
|
|
||||||
$${icon_target}.path = /usr/share/icons/hicolor/$${s}x$${s}/apps
|
|
||||||
equals(PREFIX, "openrepos") {
|
|
||||||
$${icon_target}.extra = cp $${icon_dir}/harbour-$${NAME}.png $$eval($${icon_target}.files)
|
|
||||||
$${icon_target}.CONFIG += no_check_exist
|
|
||||||
}
|
|
||||||
INSTALLS += $${icon_target}
|
|
||||||
}
|
|
||||||
|
|
||||||
settings_qml.files = settings/*.qml
|
settings_qml.files = settings/*.qml
|
||||||
settings_qml.path = /usr/share/$${TARGET}/settings/
|
settings_qml.path = /usr/share/$${TARGET}/settings/
|
||||||
INSTALLS += settings_qml
|
INSTALLS += settings_qml
|
||||||
|
@ -273,7 +261,7 @@ defineTest(addTrFile) {
|
||||||
export(OTHER_FILES)
|
export(OTHER_FILES)
|
||||||
|
|
||||||
in = $${_PRO_FILE_PWD_}/$${rel}
|
in = $${_PRO_FILE_PWD_}/$${rel}
|
||||||
out = $${OUT_PWD}/translations/$${PREFIX}-$${1}
|
out = $${OUT_PWD}/translations/$${PREFIX}.harbour.$${1}
|
||||||
|
|
||||||
s = $$replace(1,-,_)
|
s = $$replace(1,-,_)
|
||||||
lupdate_target = lupdate_$$s
|
lupdate_target = lupdate_$$s
|
||||||
|
@ -301,7 +289,7 @@ defineTest(addTrFile) {
|
||||||
|
|
||||||
LANGUAGES = de fi hu nl pl pt ru sv es zh_CN
|
LANGUAGES = de fi hu nl pl pt ru sv es zh_CN
|
||||||
|
|
||||||
addTrFile($${NAME})
|
addTrFile($${ORIGINAL_NAME})
|
||||||
for(l, LANGUAGES) {
|
for(l, LANGUAGES) {
|
||||||
addTrFile($${NAME}-$$l)
|
addTrFile($${ORIGINAL_NAME}-$$l)
|
||||||
}
|
}
|
|
@ -1,44 +1,13 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<svg
|
<!-- Generated by Pixelmator Pro 3.4.3 -->
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
<svg width="86" height="86" viewBox="0 0 86 86" xmlns="http://www.w3.org/2000/svg">
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
<path id="path1" fill="#ffffff" stroke="none" opacity="0" d="M 0 0 L 86 0 L 86 86 L 0 86 Z"/>
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
<g id="g1">
|
||||||
version="1.1"
|
<linearGradient id="linearGradient1" x1="79.238723" y1="91.3279" x2="6.761477" y2="18.8514" gradientUnits="userSpaceOnUse">
|
||||||
x="0px"
|
<stop offset="1e-05" stop-color="#f5d9a8" stop-opacity="1"/>
|
||||||
y="0px"
|
<stop offset="1" stop-color="#cc9933" stop-opacity="1"/>
|
||||||
width="86px"
|
|
||||||
height="86px"
|
|
||||||
viewBox="0 0 86 86"
|
|
||||||
enable-background="new 0 0 86 86"
|
|
||||||
xml:space="preserve"
|
|
||||||
inkscape:version="0.48.2 r9819">
|
|
||||||
<rect
|
|
||||||
y="0"
|
|
||||||
x="0"
|
|
||||||
style="opacity:0;fill:#ffffff"
|
|
||||||
width="86"
|
|
||||||
height="86"/>
|
|
||||||
<g>
|
|
||||||
<linearGradient
|
|
||||||
id="SVGID_1_"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
x1="79.2383"
|
|
||||||
y1="91.3279"
|
|
||||||
x2="6.7619"
|
|
||||||
y2="18.8514">
|
|
||||||
<stop
|
|
||||||
offset="0"
|
|
||||||
style="stop-color:#f5d9a8;stop-opacity:1;"/>
|
|
||||||
<stop
|
|
||||||
offset="1"
|
|
||||||
style="stop-color:#cc9933;stop-opacity:1;"/>
|
|
||||||
</linearGradient>
|
</linearGradient>
|
||||||
<path
|
<path id="---" fill="url(#linearGradient1)" fill-rule="evenodd" stroke="none" d="M 0.299502 69.699997 C 0.299502 78.536552 7.462946 85.699997 16.299501 85.699997 L 69.699493 85.699997 C 78.536049 85.699997 85.699493 78.536552 85.699493 69.699997 L 85.699493 16.300003 C 85.699493 7.463448 78.536049 0.300003 69.699493 0.300003 L 16.299501 0.300003 C 7.462946 0.300003 0.299502 7.463448 0.299502 16.300003 Z"/>
|
||||||
fill="url(#SVGID_1_)"
|
|
||||||
d="M43,0.3C19.417,0.3,0.3,19.418,0.3,43c0,0.408,0,41.277,0,41.277c0,0.786,0.637,1.423,1.423,1.423 h82.553c0.786,0,1.423-0.637,1.423-1.423c0,0,0-40.908,0-41.277C85.7,19.418,66.583,0.3,43,0.3z"/>
|
|
||||||
</g>
|
</g>
|
||||||
<path
|
<path id="path2" fill="#cc0000" stroke="none" d="M 65.24424 25.145325 L 68.00016 25.145325 L 68.00016 78 L 28.432976 78 C 22.625853 78 17.999838 73.964539 17.999838 67.960564 L 17.999838 22.192551 C 17.999838 18.944496 20.657335 16.287003 23.905388 16.287003 L 60.519798 16.287003 L 60.519798 61.661312 L 28.432976 61.661312 C 24.397516 61.661312 21.543167 63.826679 21.543167 67.76371 L 21.543167 67.960564 C 21.543167 71.897598 24.397516 74.456673 28.432976 74.456673 L 65.24424 74.456673 L 65.24424 25.145325 Z M 60.519798 69.338524 L 28.826679 69.338524 C 27.940847 69.338524 27.15344 68.846397 27.15344 67.862137 C 27.15344 67.07473 27.940847 66.582603 28.826679 66.582603 L 60.519798 66.582603 L 60.519798 69.338524 Z"/>
|
||||||
inkscape:connector-curvature="0"
|
</svg>
|
||||||
d="m 65.244239,25.145325 2.755924,0 0,52.854675 -39.567187,0 C 22.625852,78 17.999837,73.964541 17.999837,67.960564 l 0,-45.768014 c 0,-3.248053 2.657498,-5.90555 5.905551,-5.90555 l 36.614411,0 0,45.374311 -32.086823,0 c -4.035459,0 -6.889809,2.165368 -6.889809,6.102402 l 0,0.196851 c 0,3.937034 2.85435,6.496106 6.889809,6.496106 l 36.811263,0 0,-49.311345 z m -4.72444,44.193201 -31.69312,0 c -0.885832,0 -1.673239,-0.492128 -1.673239,-1.476387 0,-0.787407 0.787407,-1.279537 1.673239,-1.279537 l 31.69312,0 0,2.755924 z"
|
|
||||||
style="fill:#cc0000;fill-opacity:1"/>
|
|
||||||
</svg>
|
|
||||||
|
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
@ -10,13 +10,11 @@ Name[pt_BR]=Livros
|
||||||
Name[ru]=Книги
|
Name[ru]=Книги
|
||||||
Name[sv]=Böcker
|
Name[sv]=Böcker
|
||||||
Comment=E-Book Reader
|
Comment=E-Book Reader
|
||||||
Exec=harbour-books
|
Exec=org.monich.harbour.books
|
||||||
Icon=harbour-books
|
Icon=org.monich.harbour.books
|
||||||
X-Nemo-Application-Type=silica-qt5
|
X-Nemo-Application-Type=silica-qt5
|
||||||
|
|
||||||
[X-Sailjail]
|
[X-Application]
|
||||||
Permissions=Documents;Downloads;RemovableMedia;Audio
|
Permissions=Documents;Downloads;RemovableMedia;Audio
|
||||||
|
OrganizationName=org.monich
|
||||||
[X-HarbourBackup]
|
ApplicationName=harbour.books
|
||||||
BackupPathList=.local/share/harbour-books/:Documents/Books/
|
|
||||||
BackupConfigList=/apps/harbour-books/
|
|
|
@ -34,7 +34,7 @@
|
||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
import QtFeedback 5.0
|
import QtFeedback 5.0
|
||||||
import Sailfish.Silica 1.0
|
import Sailfish.Silica 1.0
|
||||||
import org.nemomobile.notifications 1.0
|
import Nemo.Notifications 1.0
|
||||||
import harbour.books 1.0
|
import harbour.books 1.0
|
||||||
|
|
||||||
import "harbour"
|
import "harbour"
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
import Sailfish.Silica 1.0
|
import Sailfish.Silica 1.0
|
||||||
import org.nemomobile.configuration 1.0
|
import Nemo.Configuration 1.0
|
||||||
|
|
||||||
ComboBox {
|
ComboBox {
|
||||||
id: actionComboBox
|
id: actionComboBox
|
||||||
|
|
BIN
app/settings/BooksColorScheme.o
Normal file
BIN
app/settings/BooksColorScheme.o
Normal file
Binary file not shown.
BIN
app/settings/BooksColorSchemeModel.o
Normal file
BIN
app/settings/BooksColorSchemeModel.o
Normal file
Binary file not shown.
135
app/settings/BooksSettingsBase.moc
Normal file
135
app/settings/BooksSettingsBase.moc
Normal file
|
@ -0,0 +1,135 @@
|
||||||
|
/****************************************************************************
|
||||||
|
** Meta object code from reading C++ file 'BooksSettingsBase.cpp'
|
||||||
|
**
|
||||||
|
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.3)
|
||||||
|
**
|
||||||
|
** WARNING! All changes made in this file will be lost!
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
|
#include <QtCore/qbytearray.h>
|
||||||
|
#include <QtCore/qmetatype.h>
|
||||||
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||||
|
#error "The header file 'BooksSettingsBase.cpp' doesn't include <QObject>."
|
||||||
|
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||||
|
#error "This file was generated using the moc from 5.6.3. 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
|
||||||
|
struct qt_meta_stringdata_BooksSettingsBase__Private_t {
|
||||||
|
QByteArrayData data[8];
|
||||||
|
char stringdata0[194];
|
||||||
|
};
|
||||||
|
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||||
|
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||||
|
qptrdiff(offsetof(qt_meta_stringdata_BooksSettingsBase__Private_t, stringdata0) + ofs \
|
||||||
|
- idx * sizeof(QByteArrayData)) \
|
||||||
|
)
|
||||||
|
static const qt_meta_stringdata_BooksSettingsBase__Private_t qt_meta_stringdata_BooksSettingsBase__Private = {
|
||||||
|
{
|
||||||
|
QT_MOC_LITERAL(0, 0, 26), // "BooksSettingsBase::Private"
|
||||||
|
QT_MOC_LITERAL(1, 27, 29), // "onUseCustomColorSchemeChanged"
|
||||||
|
QT_MOC_LITERAL(2, 57, 0), // ""
|
||||||
|
QT_MOC_LITERAL(3, 58, 38), // "onThemeHighlightBackgroundCol..."
|
||||||
|
QT_MOC_LITERAL(4, 97, 25), // "onThemeColorSchemeChanged"
|
||||||
|
QT_MOC_LITERAL(5, 123, 18), // "onNightModeChanged"
|
||||||
|
QT_MOC_LITERAL(6, 142, 26), // "onCustomColorSchemeChanged"
|
||||||
|
QT_MOC_LITERAL(7, 169, 24) // "onAvailableColorsChanged"
|
||||||
|
|
||||||
|
},
|
||||||
|
"BooksSettingsBase::Private\0"
|
||||||
|
"onUseCustomColorSchemeChanged\0\0"
|
||||||
|
"onThemeHighlightBackgroundColorChanged\0"
|
||||||
|
"onThemeColorSchemeChanged\0onNightModeChanged\0"
|
||||||
|
"onCustomColorSchemeChanged\0"
|
||||||
|
"onAvailableColorsChanged"
|
||||||
|
};
|
||||||
|
#undef QT_MOC_LITERAL
|
||||||
|
|
||||||
|
static const uint qt_meta_data_BooksSettingsBase__Private[] = {
|
||||||
|
|
||||||
|
// content:
|
||||||
|
7, // revision
|
||||||
|
0, // classname
|
||||||
|
0, 0, // classinfo
|
||||||
|
6, 14, // methods
|
||||||
|
0, 0, // properties
|
||||||
|
0, 0, // enums/sets
|
||||||
|
0, 0, // constructors
|
||||||
|
0, // flags
|
||||||
|
0, // signalCount
|
||||||
|
|
||||||
|
// slots: name, argc, parameters, tag, flags
|
||||||
|
1, 0, 44, 2, 0x0a /* Public */,
|
||||||
|
3, 0, 45, 2, 0x0a /* Public */,
|
||||||
|
4, 0, 46, 2, 0x0a /* Public */,
|
||||||
|
5, 0, 47, 2, 0x0a /* Public */,
|
||||||
|
6, 0, 48, 2, 0x0a /* Public */,
|
||||||
|
7, 0, 49, 2, 0x0a /* Public */,
|
||||||
|
|
||||||
|
// slots: parameters
|
||||||
|
QMetaType::Void,
|
||||||
|
QMetaType::Void,
|
||||||
|
QMetaType::Void,
|
||||||
|
QMetaType::Void,
|
||||||
|
QMetaType::Void,
|
||||||
|
QMetaType::Void,
|
||||||
|
|
||||||
|
0 // eod
|
||||||
|
};
|
||||||
|
|
||||||
|
void BooksSettingsBase::Private::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||||
|
{
|
||||||
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||||
|
Private *_t = static_cast<Private *>(_o);
|
||||||
|
Q_UNUSED(_t)
|
||||||
|
switch (_id) {
|
||||||
|
case 0: _t->onUseCustomColorSchemeChanged(); break;
|
||||||
|
case 1: _t->onThemeHighlightBackgroundColorChanged(); break;
|
||||||
|
case 2: _t->onThemeColorSchemeChanged(); break;
|
||||||
|
case 3: _t->onNightModeChanged(); break;
|
||||||
|
case 4: _t->onCustomColorSchemeChanged(); break;
|
||||||
|
case 5: _t->onAvailableColorsChanged(); break;
|
||||||
|
default: ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Q_UNUSED(_a);
|
||||||
|
}
|
||||||
|
|
||||||
|
const QMetaObject BooksSettingsBase::Private::staticMetaObject = {
|
||||||
|
{ &QObject::staticMetaObject, qt_meta_stringdata_BooksSettingsBase__Private.data,
|
||||||
|
qt_meta_data_BooksSettingsBase__Private, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
const QMetaObject *BooksSettingsBase::Private::metaObject() const
|
||||||
|
{
|
||||||
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||||
|
}
|
||||||
|
|
||||||
|
void *BooksSettingsBase::Private::qt_metacast(const char *_clname)
|
||||||
|
{
|
||||||
|
if (!_clname) return Q_NULLPTR;
|
||||||
|
if (!strcmp(_clname, qt_meta_stringdata_BooksSettingsBase__Private.stringdata0))
|
||||||
|
return static_cast<void*>(const_cast< Private*>(this));
|
||||||
|
return QObject::qt_metacast(_clname);
|
||||||
|
}
|
||||||
|
|
||||||
|
int BooksSettingsBase::Private::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||||
|
{
|
||||||
|
_id = QObject::qt_metacall(_c, _id, _a);
|
||||||
|
if (_id < 0)
|
||||||
|
return _id;
|
||||||
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||||
|
if (_id < 6)
|
||||||
|
qt_static_metacall(this, _c, _id, _a);
|
||||||
|
_id -= 6;
|
||||||
|
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||||
|
if (_id < 6)
|
||||||
|
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||||
|
_id -= 6;
|
||||||
|
}
|
||||||
|
return _id;
|
||||||
|
}
|
||||||
|
QT_END_MOC_NAMESPACE
|
BIN
app/settings/BooksSettingsBase.o
Normal file
BIN
app/settings/BooksSettingsBase.o
Normal file
Binary file not shown.
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
import Sailfish.Silica 1.0
|
import Sailfish.Silica 1.0
|
||||||
import org.nemomobile.configuration 1.0
|
import Nemo.Configuration 1.0
|
||||||
|
|
||||||
import "../qml/Books.js" as Books
|
import "../qml/Books.js" as Books
|
||||||
import "../qml/harbour"
|
import "../qml/harbour"
|
||||||
|
|
153
app/settings/BooksSettingsPlugin.moc
Normal file
153
app/settings/BooksSettingsPlugin.moc
Normal file
|
@ -0,0 +1,153 @@
|
||||||
|
/****************************************************************************
|
||||||
|
** Meta object code from reading C++ file 'BooksSettingsPlugin.cpp'
|
||||||
|
**
|
||||||
|
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.3)
|
||||||
|
**
|
||||||
|
** WARNING! All changes made in this file will be lost!
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
|
#include <QtCore/qbytearray.h>
|
||||||
|
#include <QtCore/qmetatype.h>
|
||||||
|
#include <QtCore/qplugin.h>
|
||||||
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||||
|
#error "The header file 'BooksSettingsPlugin.cpp' doesn't include <QObject>."
|
||||||
|
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||||
|
#error "This file was generated using the moc from 5.6.3. 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
|
||||||
|
struct qt_meta_stringdata_BooksSettingsPlugin_t {
|
||||||
|
QByteArrayData data[1];
|
||||||
|
char stringdata0[20];
|
||||||
|
};
|
||||||
|
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||||
|
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||||
|
qptrdiff(offsetof(qt_meta_stringdata_BooksSettingsPlugin_t, stringdata0) + ofs \
|
||||||
|
- idx * sizeof(QByteArrayData)) \
|
||||||
|
)
|
||||||
|
static const qt_meta_stringdata_BooksSettingsPlugin_t qt_meta_stringdata_BooksSettingsPlugin = {
|
||||||
|
{
|
||||||
|
QT_MOC_LITERAL(0, 0, 19) // "BooksSettingsPlugin"
|
||||||
|
|
||||||
|
},
|
||||||
|
"BooksSettingsPlugin"
|
||||||
|
};
|
||||||
|
#undef QT_MOC_LITERAL
|
||||||
|
|
||||||
|
static const uint qt_meta_data_BooksSettingsPlugin[] = {
|
||||||
|
|
||||||
|
// content:
|
||||||
|
7, // revision
|
||||||
|
0, // classname
|
||||||
|
0, 0, // classinfo
|
||||||
|
0, 0, // methods
|
||||||
|
0, 0, // properties
|
||||||
|
0, 0, // enums/sets
|
||||||
|
0, 0, // constructors
|
||||||
|
0, // flags
|
||||||
|
0, // signalCount
|
||||||
|
|
||||||
|
0 // eod
|
||||||
|
};
|
||||||
|
|
||||||
|
void BooksSettingsPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||||
|
{
|
||||||
|
Q_UNUSED(_o);
|
||||||
|
Q_UNUSED(_id);
|
||||||
|
Q_UNUSED(_c);
|
||||||
|
Q_UNUSED(_a);
|
||||||
|
}
|
||||||
|
|
||||||
|
const QMetaObject BooksSettingsPlugin::staticMetaObject = {
|
||||||
|
{ &QQmlExtensionPlugin::staticMetaObject, qt_meta_stringdata_BooksSettingsPlugin.data,
|
||||||
|
qt_meta_data_BooksSettingsPlugin, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
const QMetaObject *BooksSettingsPlugin::metaObject() const
|
||||||
|
{
|
||||||
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||||
|
}
|
||||||
|
|
||||||
|
void *BooksSettingsPlugin::qt_metacast(const char *_clname)
|
||||||
|
{
|
||||||
|
if (!_clname) return Q_NULLPTR;
|
||||||
|
if (!strcmp(_clname, qt_meta_stringdata_BooksSettingsPlugin.stringdata0))
|
||||||
|
return static_cast<void*>(const_cast< BooksSettingsPlugin*>(this));
|
||||||
|
return QQmlExtensionPlugin::qt_metacast(_clname);
|
||||||
|
}
|
||||||
|
|
||||||
|
int BooksSettingsPlugin::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||||
|
{
|
||||||
|
_id = QQmlExtensionPlugin::qt_metacall(_c, _id, _a);
|
||||||
|
if (_id < 0)
|
||||||
|
return _id;
|
||||||
|
return _id;
|
||||||
|
}
|
||||||
|
|
||||||
|
QT_PLUGIN_METADATA_SECTION const uint qt_section_alignment_dummy = 42;
|
||||||
|
|
||||||
|
#ifdef QT_NO_DEBUG
|
||||||
|
|
||||||
|
QT_PLUGIN_METADATA_SECTION
|
||||||
|
static const unsigned char qt_pluginMetaData[] = {
|
||||||
|
'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', ' ',
|
||||||
|
'q', 'b', 'j', 's', 0x01, 0x00, 0x00, 0x00,
|
||||||
|
0xa8, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00,
|
||||||
|
0x94, 0x00, 0x00, 0x00, 0x1b, 0x03, 0x00, 0x00,
|
||||||
|
0x03, 0x00, 'I', 'I', 'D', 0x00, 0x00, 0x00,
|
||||||
|
0x18, 0x00, 'o', 'p', 'e', 'n', 'r', 'e',
|
||||||
|
'p', 'o', 's', '.', 'b', 'o', 'o', 'k',
|
||||||
|
's', '.', 's', 'e', 't', 't', 'i', 'n',
|
||||||
|
'g', 's', 0x00, 0x00, 0x9b, 0x08, 0x00, 0x00,
|
||||||
|
0x09, 0x00, 'c', 'l', 'a', 's', 's', 'N',
|
||||||
|
'a', 'm', 'e', 0x00, 0x13, 0x00, 'B', 'o',
|
||||||
|
'o', 'k', 's', 'S', 'e', 't', 't', 'i',
|
||||||
|
'n', 'g', 's', 'P', 'l', 'u', 'g', 'i',
|
||||||
|
'n', 0x00, 0x00, 0x00, 'z', 0xc0, 0xa0, 0x00,
|
||||||
|
0x07, 0x00, 'v', 'e', 'r', 's', 'i', 'o',
|
||||||
|
'n', 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00,
|
||||||
|
0x05, 0x00, 'd', 'e', 'b', 'u', 'g', 0x00,
|
||||||
|
0x15, 0x11, 0x00, 0x00, 0x08, 0x00, 'M', 'e',
|
||||||
|
't', 'a', 'D', 'a', 't', 'a', 0x00, 0x00,
|
||||||
|
0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
|
||||||
|
'x', 0x00, 0x00, 0x00, '4', 0x00, 0x00, 0x00,
|
||||||
|
'l', 0x00, 0x00, 0x00, '\\', 0x00, 0x00, 0x00
|
||||||
|
};
|
||||||
|
|
||||||
|
#else // QT_NO_DEBUG
|
||||||
|
|
||||||
|
QT_PLUGIN_METADATA_SECTION
|
||||||
|
static const unsigned char qt_pluginMetaData[] = {
|
||||||
|
'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', ' ',
|
||||||
|
'q', 'b', 'j', 's', 0x01, 0x00, 0x00, 0x00,
|
||||||
|
0xa8, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00,
|
||||||
|
0x94, 0x00, 0x00, 0x00, 0x1b, 0x03, 0x00, 0x00,
|
||||||
|
0x03, 0x00, 'I', 'I', 'D', 0x00, 0x00, 0x00,
|
||||||
|
0x18, 0x00, 'o', 'p', 'e', 'n', 'r', 'e',
|
||||||
|
'p', 'o', 's', '.', 'b', 'o', 'o', 'k',
|
||||||
|
's', '.', 's', 'e', 't', 't', 'i', 'n',
|
||||||
|
'g', 's', 0x00, 0x00, 0x95, 0x08, 0x00, 0x00,
|
||||||
|
0x08, 0x00, 'M', 'e', 't', 'a', 'D', 'a',
|
||||||
|
't', 'a', 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x1b, 0x0c, 0x00, 0x00, 0x09, 0x00, 'c', 'l',
|
||||||
|
'a', 's', 's', 'N', 'a', 'm', 'e', 0x00,
|
||||||
|
0x13, 0x00, 'B', 'o', 'o', 'k', 's', 'S',
|
||||||
|
'e', 't', 't', 'i', 'n', 'g', 's', 'P',
|
||||||
|
'l', 'u', 'g', 'i', 'n', 0x00, 0x00, 0x00,
|
||||||
|
'1', 0x00, 0x00, 0x00, 0x05, 0x00, 'd', 'e',
|
||||||
|
'b', 'u', 'g', 0x00, 'z', 0xc0, 0xa0, 0x00,
|
||||||
|
0x07, 0x00, 'v', 'e', 'r', 's', 'i', 'o',
|
||||||
|
'n', 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
|
||||||
|
'4', 0x00, 0x00, 0x00, 'P', 0x00, 0x00, 0x00,
|
||||||
|
'x', 0x00, 0x00, 0x00, 0x84, 0x00, 0x00, 0x00
|
||||||
|
};
|
||||||
|
#endif // QT_NO_DEBUG
|
||||||
|
|
||||||
|
QT_MOC_EXPORT_PLUGIN(BooksSettingsPlugin, BooksSettingsPlugin)
|
||||||
|
|
||||||
|
QT_END_MOC_NAMESPACE
|
BIN
app/settings/BooksSettingsPlugin.o
Normal file
BIN
app/settings/BooksSettingsPlugin.o
Normal file
Binary file not shown.
BIN
app/settings/HarbourColorEditorModel.o
Normal file
BIN
app/settings/HarbourColorEditorModel.o
Normal file
Binary file not shown.
BIN
app/settings/HarbourUtil.o
Normal file
BIN
app/settings/HarbourUtil.o
Normal file
Binary file not shown.
595
app/settings/Makefile
Normal file
595
app/settings/Makefile
Normal file
|
@ -0,0 +1,595 @@
|
||||||
|
#############################################################################
|
||||||
|
# Makefile for building: libbookssettings.so
|
||||||
|
# Generated by qmake (3.0) (Qt 5.6.3)
|
||||||
|
# Project: settings.pro
|
||||||
|
# Template: lib
|
||||||
|
# Command: /usr/lib/qt5/bin/qmake 'QMAKE_CFLAGS_RELEASE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,-z,relro,-z,now -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,-z,relro,-z,now -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,-z,relro,-z,now -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CXXFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,-z,relro,-z,now -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' QMAKE_STRIP=: PREFIX=/usr LIBDIR=/usr/lib -o Makefile settings.pro
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
MAKEFILE = Makefile
|
||||||
|
|
||||||
|
####### Compiler, tools and options
|
||||||
|
|
||||||
|
CC = gcc
|
||||||
|
CXX = g++
|
||||||
|
DEFINES = -DOPENREPOS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
|
||||||
|
CFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,-z,relro,-z,now -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -fvisibility=hidden -D_REENTRANT -Wall -W -fPIC $(DEFINES)
|
||||||
|
CXXFLAGS = -pipe -Wno-unused-parameter -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,-z,relro,-z,now -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -Wall -W -fPIC $(DEFINES)
|
||||||
|
INCPATH = -I. -I../src -I../../harbour-lib/include -isystem /usr/include/mlite5 -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -I. -I/usr/share/qt5/mkspecs/linux-g++
|
||||||
|
QMAKE = /usr/lib/qt5/bin/qmake
|
||||||
|
DEL_FILE = rm -f
|
||||||
|
CHK_DIR_EXISTS= test -d
|
||||||
|
MKDIR = mkdir -p
|
||||||
|
COPY = cp -f
|
||||||
|
COPY_FILE = cp -f
|
||||||
|
COPY_DIR = cp -f -R
|
||||||
|
INSTALL_FILE = install -m 644 -p
|
||||||
|
INSTALL_PROGRAM = install -m 755 -p
|
||||||
|
INSTALL_DIR = cp -f -R
|
||||||
|
DEL_FILE = rm -f
|
||||||
|
SYMLINK = ln -f -s
|
||||||
|
DEL_DIR = rmdir
|
||||||
|
MOVE = mv -f
|
||||||
|
TAR = tar -cf
|
||||||
|
COMPRESS = gzip -9f
|
||||||
|
DISTNAME = bookssettings1.0.0
|
||||||
|
DISTDIR = /home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/app/settings/.tmp/bookssettings1.0.0
|
||||||
|
LINK = g++
|
||||||
|
LFLAGS = -Wl,-O1 -shared
|
||||||
|
LIBS = $(SUBLIBS) -lmlite5 -lQt5DBus -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -lGLESv2 -lpthread
|
||||||
|
AR = ar cqs
|
||||||
|
RANLIB =
|
||||||
|
SED = sed
|
||||||
|
STRIP = :
|
||||||
|
|
||||||
|
####### Output directory
|
||||||
|
|
||||||
|
OBJECTS_DIR = ./
|
||||||
|
|
||||||
|
####### Files
|
||||||
|
|
||||||
|
SOURCES = BooksSettingsPlugin.cpp \
|
||||||
|
../src/BooksColorScheme.cpp \
|
||||||
|
../src/BooksColorSchemeModel.cpp \
|
||||||
|
../src/BooksSettingsBase.cpp \
|
||||||
|
../../harbour-lib/src/HarbourColorEditorModel.cpp \
|
||||||
|
../../harbour-lib/src/HarbourUtil.cpp moc_BooksColorSchemeModel.cpp \
|
||||||
|
moc_BooksSettingsBase.cpp \
|
||||||
|
moc_HarbourColorEditorModel.cpp \
|
||||||
|
moc_HarbourUtil.cpp
|
||||||
|
OBJECTS = BooksSettingsPlugin.o \
|
||||||
|
BooksColorScheme.o \
|
||||||
|
BooksColorSchemeModel.o \
|
||||||
|
BooksSettingsBase.o \
|
||||||
|
HarbourColorEditorModel.o \
|
||||||
|
HarbourUtil.o \
|
||||||
|
moc_BooksColorSchemeModel.o \
|
||||||
|
moc_BooksSettingsBase.o \
|
||||||
|
moc_HarbourColorEditorModel.o \
|
||||||
|
moc_HarbourUtil.o
|
||||||
|
DIST = /usr/share/qt5/mkspecs/features/spec_pre.prf \
|
||||||
|
/usr/share/qt5/mkspecs/common/unix.conf \
|
||||||
|
/usr/share/qt5/mkspecs/common/linux.conf \
|
||||||
|
/usr/share/qt5/mkspecs/common/sanitize.conf \
|
||||||
|
/usr/share/qt5/mkspecs/common/gcc-base.conf \
|
||||||
|
/usr/share/qt5/mkspecs/common/gcc-base-unix.conf \
|
||||||
|
/usr/share/qt5/mkspecs/common/g++-base.conf \
|
||||||
|
/usr/share/qt5/mkspecs/common/g++-unix.conf \
|
||||||
|
/usr/share/qt5/mkspecs/qconfig.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_bluetooth.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_bluetooth_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_compositor.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_compositor_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_concurrent.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_contacts.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_contacts_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_core.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_core_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_dbus.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_dbus_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_docgallery.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_docgallery_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_feedback.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_feedback_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_gui.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_gui_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_help.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_help_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_location.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_location_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_multimedia.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_multimedia_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_network.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_network_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_opengl.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_opengl_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_openglextensions.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_organizer.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_organizer_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_platformsupport_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_positioning.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_positioning_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_publishsubscribe.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_publishsubscribe_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qmfclient.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qmfclient_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qmfmessageserver.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qmfmessageserver_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qml.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qml_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_quick.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_quick_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_quickparticles_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_sensors.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_sensors_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_serviceframework.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_serviceframework_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_sql.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_sql_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_svg.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_svg_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_systeminfo.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_systeminfo_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_testlib.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_testlib_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_versit.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_versit_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_versitorganizer.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_versitorganizer_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_waylandclient.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_waylandclient_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_webkit.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_webkit_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_websockets.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_websockets_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_widgets.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_widgets_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_xml.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_xml_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_xmlpatterns.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_xmlpatterns_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/features/qt_functions.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/qt_config.prf \
|
||||||
|
/usr/share/qt5/mkspecs/linux-g++/qmake.conf \
|
||||||
|
/usr/share/qt5/mkspecs/features/spec_post.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/exclusive_builds.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/default_pre.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/resolve_config.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/default_post.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/unix/hide_symbols.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/link_pkgconfig.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/qt.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/resources.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/moc.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/unix/opengl.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/unix/thread.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/warn_on.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/file_copies.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/testcase_targets.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/exceptions.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/yacc.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/lex.prf \
|
||||||
|
settings.pro ../src/BooksColorScheme.h \
|
||||||
|
../src/BooksColorSchemeModel.h \
|
||||||
|
../src/BooksSettingsBase.h \
|
||||||
|
../../harbour-lib/include/HarbourColorEditorModel.h \
|
||||||
|
../../harbour-lib/include/HarbourDebug.h \
|
||||||
|
../../harbour-lib/include/HarbourUtil.h BooksSettingsPlugin.cpp \
|
||||||
|
../src/BooksColorScheme.cpp \
|
||||||
|
../src/BooksColorSchemeModel.cpp \
|
||||||
|
../src/BooksSettingsBase.cpp \
|
||||||
|
../../harbour-lib/src/HarbourColorEditorModel.cpp \
|
||||||
|
../../harbour-lib/src/HarbourUtil.cpp
|
||||||
|
QMAKE_TARGET = bookssettings
|
||||||
|
DESTDIR =
|
||||||
|
TARGET = libbookssettings.so
|
||||||
|
TARGETD = libbookssettings.so
|
||||||
|
|
||||||
|
|
||||||
|
first: all
|
||||||
|
####### Build rules
|
||||||
|
|
||||||
|
$(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP)
|
||||||
|
-$(DEL_FILE) $(TARGET)
|
||||||
|
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Makefile: settings.pro /usr/share/qt5/mkspecs/linux-g++/qmake.conf /usr/share/qt5/mkspecs/features/spec_pre.prf \
|
||||||
|
/usr/share/qt5/mkspecs/common/unix.conf \
|
||||||
|
/usr/share/qt5/mkspecs/common/linux.conf \
|
||||||
|
/usr/share/qt5/mkspecs/common/sanitize.conf \
|
||||||
|
/usr/share/qt5/mkspecs/common/gcc-base.conf \
|
||||||
|
/usr/share/qt5/mkspecs/common/gcc-base-unix.conf \
|
||||||
|
/usr/share/qt5/mkspecs/common/g++-base.conf \
|
||||||
|
/usr/share/qt5/mkspecs/common/g++-unix.conf \
|
||||||
|
/usr/share/qt5/mkspecs/qconfig.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_bluetooth.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_bluetooth_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_compositor.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_compositor_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_concurrent.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_contacts.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_contacts_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_core.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_core_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_dbus.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_dbus_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_docgallery.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_docgallery_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_feedback.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_feedback_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_gui.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_gui_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_help.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_help_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_location.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_location_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_multimedia.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_multimedia_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_network.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_network_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_opengl.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_opengl_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_openglextensions.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_organizer.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_organizer_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_platformsupport_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_positioning.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_positioning_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_publishsubscribe.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_publishsubscribe_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qmfclient.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qmfclient_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qmfmessageserver.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qmfmessageserver_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qml.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qml_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_quick.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_quick_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_quickparticles_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_sensors.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_sensors_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_serviceframework.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_serviceframework_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_sql.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_sql_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_svg.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_svg_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_systeminfo.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_systeminfo_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_testlib.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_testlib_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_versit.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_versit_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_versitorganizer.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_versitorganizer_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_waylandclient.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_waylandclient_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_webkit.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_webkit_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_websockets.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_websockets_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_widgets.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_widgets_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_xml.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_xml_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_xmlpatterns.pri \
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_xmlpatterns_private.pri \
|
||||||
|
/usr/share/qt5/mkspecs/features/qt_functions.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/qt_config.prf \
|
||||||
|
/usr/share/qt5/mkspecs/linux-g++/qmake.conf \
|
||||||
|
/usr/share/qt5/mkspecs/features/spec_post.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/exclusive_builds.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/default_pre.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/resolve_config.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/default_post.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/unix/hide_symbols.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/link_pkgconfig.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/qt.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/resources.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/moc.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/unix/opengl.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/unix/thread.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/warn_on.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/file_copies.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/testcase_targets.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/exceptions.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/yacc.prf \
|
||||||
|
/usr/share/qt5/mkspecs/features/lex.prf \
|
||||||
|
settings.pro \
|
||||||
|
/usr/lib/libQt5DBus.prl \
|
||||||
|
/usr/lib/libQt5Core.prl \
|
||||||
|
/usr/lib/libQt5Gui.prl \
|
||||||
|
/usr/lib/libQt5Qml.prl \
|
||||||
|
/usr/lib/libQt5Network.prl
|
||||||
|
$(QMAKE) 'QMAKE_CFLAGS_RELEASE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,-z,relro,-z,now -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,-z,relro,-z,now -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,-z,relro,-z,now -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CXXFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,-z,relro,-z,now -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' QMAKE_STRIP=: PREFIX=/usr LIBDIR=/usr/lib -o Makefile settings.pro
|
||||||
|
/usr/share/qt5/mkspecs/features/spec_pre.prf:
|
||||||
|
/usr/share/qt5/mkspecs/common/unix.conf:
|
||||||
|
/usr/share/qt5/mkspecs/common/linux.conf:
|
||||||
|
/usr/share/qt5/mkspecs/common/sanitize.conf:
|
||||||
|
/usr/share/qt5/mkspecs/common/gcc-base.conf:
|
||||||
|
/usr/share/qt5/mkspecs/common/gcc-base-unix.conf:
|
||||||
|
/usr/share/qt5/mkspecs/common/g++-base.conf:
|
||||||
|
/usr/share/qt5/mkspecs/common/g++-unix.conf:
|
||||||
|
/usr/share/qt5/mkspecs/qconfig.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_bluetooth.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_bluetooth_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_compositor.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_compositor_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_concurrent.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_concurrent_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_contacts.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_contacts_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_core.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_core_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_dbus.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_dbus_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_docgallery.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_docgallery_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_feedback.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_feedback_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_gui.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_gui_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_help.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_help_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_location.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_location_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_multimedia.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_multimedia_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_network.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_network_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_opengl.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_opengl_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_openglextensions.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_organizer.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_organizer_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_platformsupport_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_positioning.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_positioning_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_publishsubscribe.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_publishsubscribe_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qmfclient.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qmfclient_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qmfmessageserver.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qmfmessageserver_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qml.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qml_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_quick.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_quick_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_quickparticles_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_sensors.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_sensors_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_serviceframework.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_serviceframework_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_sql.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_sql_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_svg.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_svg_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_systeminfo.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_systeminfo_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_testlib.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_testlib_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_versit.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_versit_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_versitorganizer.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_versitorganizer_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_waylandclient.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_waylandclient_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_webkit.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_webkit_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_websockets.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_websockets_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_widgets.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_widgets_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_xml.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_xml_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_xmlpatterns.pri:
|
||||||
|
/usr/share/qt5/mkspecs/modules/qt_lib_xmlpatterns_private.pri:
|
||||||
|
/usr/share/qt5/mkspecs/features/qt_functions.prf:
|
||||||
|
/usr/share/qt5/mkspecs/features/qt_config.prf:
|
||||||
|
/usr/share/qt5/mkspecs/linux-g++/qmake.conf:
|
||||||
|
/usr/share/qt5/mkspecs/features/spec_post.prf:
|
||||||
|
/usr/share/qt5/mkspecs/features/exclusive_builds.prf:
|
||||||
|
/usr/share/qt5/mkspecs/features/default_pre.prf:
|
||||||
|
/usr/share/qt5/mkspecs/features/resolve_config.prf:
|
||||||
|
/usr/share/qt5/mkspecs/features/default_post.prf:
|
||||||
|
/usr/share/qt5/mkspecs/features/unix/hide_symbols.prf:
|
||||||
|
/usr/share/qt5/mkspecs/features/link_pkgconfig.prf:
|
||||||
|
/usr/share/qt5/mkspecs/features/qt.prf:
|
||||||
|
/usr/share/qt5/mkspecs/features/resources.prf:
|
||||||
|
/usr/share/qt5/mkspecs/features/moc.prf:
|
||||||
|
/usr/share/qt5/mkspecs/features/unix/opengl.prf:
|
||||||
|
/usr/share/qt5/mkspecs/features/unix/thread.prf:
|
||||||
|
/usr/share/qt5/mkspecs/features/warn_on.prf:
|
||||||
|
/usr/share/qt5/mkspecs/features/file_copies.prf:
|
||||||
|
/usr/share/qt5/mkspecs/features/testcase_targets.prf:
|
||||||
|
/usr/share/qt5/mkspecs/features/exceptions.prf:
|
||||||
|
/usr/share/qt5/mkspecs/features/yacc.prf:
|
||||||
|
/usr/share/qt5/mkspecs/features/lex.prf:
|
||||||
|
settings.pro:
|
||||||
|
/usr/lib/libQt5DBus.prl:
|
||||||
|
/usr/lib/libQt5Core.prl:
|
||||||
|
/usr/lib/libQt5Gui.prl:
|
||||||
|
/usr/lib/libQt5Qml.prl:
|
||||||
|
/usr/lib/libQt5Network.prl:
|
||||||
|
qmake: FORCE
|
||||||
|
@$(QMAKE) 'QMAKE_CFLAGS_RELEASE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,-z,relro,-z,now -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,-z,relro,-z,now -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,-z,relro,-z,now -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CXXFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,-z,relro,-z,now -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' QMAKE_STRIP=: PREFIX=/usr LIBDIR=/usr/lib -o Makefile settings.pro
|
||||||
|
|
||||||
|
qmake_all: FORCE
|
||||||
|
|
||||||
|
|
||||||
|
all: Makefile $(TARGET)
|
||||||
|
|
||||||
|
dist: distdir FORCE
|
||||||
|
(cd `dirname $(DISTDIR)` && $(TAR) $(DISTNAME).tar $(DISTNAME) && $(COMPRESS) $(DISTNAME).tar) && $(MOVE) `dirname $(DISTDIR)`/$(DISTNAME).tar.gz . && $(DEL_FILE) -r $(DISTDIR)
|
||||||
|
|
||||||
|
distdir: FORCE
|
||||||
|
@test -d $(DISTDIR) || mkdir -p $(DISTDIR)
|
||||||
|
$(COPY_FILE) --parents $(DIST) $(DISTDIR)/
|
||||||
|
$(COPY_FILE) --parents ../src/BooksColorScheme.h ../src/BooksColorSchemeModel.h ../src/BooksSettingsBase.h ../../harbour-lib/include/HarbourColorEditorModel.h ../../harbour-lib/include/HarbourDebug.h ../../harbour-lib/include/HarbourUtil.h $(DISTDIR)/
|
||||||
|
$(COPY_FILE) --parents BooksSettingsPlugin.cpp ../src/BooksColorScheme.cpp ../src/BooksColorSchemeModel.cpp ../src/BooksSettingsBase.cpp ../../harbour-lib/src/HarbourColorEditorModel.cpp ../../harbour-lib/src/HarbourUtil.cpp $(DISTDIR)/
|
||||||
|
|
||||||
|
|
||||||
|
clean: compiler_clean
|
||||||
|
-$(DEL_FILE) $(OBJECTS)
|
||||||
|
-$(DEL_FILE) *~ core *.core
|
||||||
|
|
||||||
|
|
||||||
|
distclean: clean
|
||||||
|
-$(DEL_FILE) $(TARGET)
|
||||||
|
-$(DEL_FILE) Makefile
|
||||||
|
|
||||||
|
|
||||||
|
####### Sub-libraries
|
||||||
|
|
||||||
|
mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
||||||
|
|
||||||
|
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
||||||
|
|
||||||
|
check: first
|
||||||
|
|
||||||
|
benchmark: first
|
||||||
|
|
||||||
|
compiler_rcc_make_all:
|
||||||
|
compiler_rcc_clean:
|
||||||
|
compiler_moc_header_make_all: moc_BooksColorSchemeModel.cpp moc_BooksSettingsBase.cpp moc_HarbourColorEditorModel.cpp moc_HarbourUtil.cpp
|
||||||
|
compiler_moc_header_clean:
|
||||||
|
-$(DEL_FILE) moc_BooksColorSchemeModel.cpp moc_BooksSettingsBase.cpp moc_HarbourColorEditorModel.cpp moc_HarbourUtil.cpp
|
||||||
|
moc_BooksColorSchemeModel.cpp: ../src/BooksColorScheme.h \
|
||||||
|
../src/BooksColorSchemeModel.h
|
||||||
|
/usr/lib/qt5/bin/moc $(DEFINES) -I/usr/share/qt5/mkspecs/linux-g++ -I/home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/app/settings -I/home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/app/src -I/home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/harbour-lib/include -I/usr/include/mlite5 -I/usr/include/qt5/QtDBus -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/8.3.0 -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/8.3.0/armv7hl-meego-linux-gnueabi -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/8.3.0/backward -I/opt/cross/lib/gcc/armv7hl-meego-linux-gnueabi/8.3.0/include -I/usr/local/include -I/opt/cross/lib/gcc/armv7hl-meego-linux-gnueabi/8.3.0/include-fixed -I/opt/cross/armv7hl-meego-linux-gnueabi/include -I/usr/include ../src/BooksColorSchemeModel.h -o moc_BooksColorSchemeModel.cpp
|
||||||
|
|
||||||
|
moc_BooksSettingsBase.cpp: ../src/BooksTypes.h \
|
||||||
|
../src/BooksColorScheme.h \
|
||||||
|
../src/BooksSettingsBase.h
|
||||||
|
/usr/lib/qt5/bin/moc $(DEFINES) -I/usr/share/qt5/mkspecs/linux-g++ -I/home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/app/settings -I/home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/app/src -I/home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/harbour-lib/include -I/usr/include/mlite5 -I/usr/include/qt5/QtDBus -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/8.3.0 -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/8.3.0/armv7hl-meego-linux-gnueabi -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/8.3.0/backward -I/opt/cross/lib/gcc/armv7hl-meego-linux-gnueabi/8.3.0/include -I/usr/local/include -I/opt/cross/lib/gcc/armv7hl-meego-linux-gnueabi/8.3.0/include-fixed -I/opt/cross/armv7hl-meego-linux-gnueabi/include -I/usr/include ../src/BooksSettingsBase.h -o moc_BooksSettingsBase.cpp
|
||||||
|
|
||||||
|
moc_HarbourColorEditorModel.cpp: ../../harbour-lib/include/HarbourColorEditorModel.h
|
||||||
|
/usr/lib/qt5/bin/moc $(DEFINES) -I/usr/share/qt5/mkspecs/linux-g++ -I/home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/app/settings -I/home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/app/src -I/home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/harbour-lib/include -I/usr/include/mlite5 -I/usr/include/qt5/QtDBus -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/8.3.0 -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/8.3.0/armv7hl-meego-linux-gnueabi -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/8.3.0/backward -I/opt/cross/lib/gcc/armv7hl-meego-linux-gnueabi/8.3.0/include -I/usr/local/include -I/opt/cross/lib/gcc/armv7hl-meego-linux-gnueabi/8.3.0/include-fixed -I/opt/cross/armv7hl-meego-linux-gnueabi/include -I/usr/include ../../harbour-lib/include/HarbourColorEditorModel.h -o moc_HarbourColorEditorModel.cpp
|
||||||
|
|
||||||
|
moc_HarbourUtil.cpp: ../../harbour-lib/include/HarbourUtil.h
|
||||||
|
/usr/lib/qt5/bin/moc $(DEFINES) -I/usr/share/qt5/mkspecs/linux-g++ -I/home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/app/settings -I/home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/app/src -I/home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/harbour-lib/include -I/usr/include/mlite5 -I/usr/include/qt5/QtDBus -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/8.3.0 -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/8.3.0/armv7hl-meego-linux-gnueabi -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/8.3.0/backward -I/opt/cross/lib/gcc/armv7hl-meego-linux-gnueabi/8.3.0/include -I/usr/local/include -I/opt/cross/lib/gcc/armv7hl-meego-linux-gnueabi/8.3.0/include-fixed -I/opt/cross/armv7hl-meego-linux-gnueabi/include -I/usr/include ../../harbour-lib/include/HarbourUtil.h -o moc_HarbourUtil.cpp
|
||||||
|
|
||||||
|
compiler_moc_source_make_all: BooksSettingsPlugin.moc BooksSettingsBase.moc
|
||||||
|
compiler_moc_source_clean:
|
||||||
|
-$(DEL_FILE) BooksSettingsPlugin.moc BooksSettingsBase.moc
|
||||||
|
BooksSettingsPlugin.moc: ../src/BooksColorSchemeModel.h \
|
||||||
|
../src/BooksColorScheme.h \
|
||||||
|
../src/BooksSettingsBase.h \
|
||||||
|
../src/BooksTypes.h \
|
||||||
|
../../harbour-lib/include/HarbourColorEditorModel.h \
|
||||||
|
../../harbour-lib/include/HarbourDebug.h \
|
||||||
|
BooksSettingsPlugin.cpp
|
||||||
|
/usr/lib/qt5/bin/moc $(DEFINES) -I/usr/share/qt5/mkspecs/linux-g++ -I/home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/app/settings -I/home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/app/src -I/home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/harbour-lib/include -I/usr/include/mlite5 -I/usr/include/qt5/QtDBus -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/8.3.0 -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/8.3.0/armv7hl-meego-linux-gnueabi -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/8.3.0/backward -I/opt/cross/lib/gcc/armv7hl-meego-linux-gnueabi/8.3.0/include -I/usr/local/include -I/opt/cross/lib/gcc/armv7hl-meego-linux-gnueabi/8.3.0/include-fixed -I/opt/cross/armv7hl-meego-linux-gnueabi/include -I/usr/include BooksSettingsPlugin.cpp -o BooksSettingsPlugin.moc
|
||||||
|
|
||||||
|
BooksSettingsBase.moc: ../src/BooksSettingsBase.h \
|
||||||
|
../src/BooksTypes.h \
|
||||||
|
../src/BooksColorScheme.h \
|
||||||
|
../src/BooksDefs.h \
|
||||||
|
../../harbour-lib/include/HarbourDebug.h \
|
||||||
|
../../harbour-lib/include/HarbourUtil.h \
|
||||||
|
../src/BooksSettingsBase.cpp
|
||||||
|
/usr/lib/qt5/bin/moc $(DEFINES) -I/usr/share/qt5/mkspecs/linux-g++ -I/home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/app/settings -I/home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/app/src -I/home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/harbour-lib/include -I/usr/include/mlite5 -I/usr/include/qt5/QtDBus -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/8.3.0 -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/8.3.0/armv7hl-meego-linux-gnueabi -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/8.3.0/backward -I/opt/cross/lib/gcc/armv7hl-meego-linux-gnueabi/8.3.0/include -I/usr/local/include -I/opt/cross/lib/gcc/armv7hl-meego-linux-gnueabi/8.3.0/include-fixed -I/opt/cross/armv7hl-meego-linux-gnueabi/include -I/usr/include ../src/BooksSettingsBase.cpp -o BooksSettingsBase.moc
|
||||||
|
|
||||||
|
compiler_yacc_decl_make_all:
|
||||||
|
compiler_yacc_decl_clean:
|
||||||
|
compiler_yacc_impl_make_all:
|
||||||
|
compiler_yacc_impl_clean:
|
||||||
|
compiler_lex_make_all:
|
||||||
|
compiler_lex_clean:
|
||||||
|
compiler_clean: compiler_moc_header_clean compiler_moc_source_clean
|
||||||
|
|
||||||
|
####### Compile
|
||||||
|
|
||||||
|
BooksSettingsPlugin.o: BooksSettingsPlugin.cpp ../src/BooksColorSchemeModel.h \
|
||||||
|
../src/BooksColorScheme.h \
|
||||||
|
../src/BooksSettingsBase.h \
|
||||||
|
../src/BooksTypes.h \
|
||||||
|
../../harbour-lib/include/HarbourColorEditorModel.h \
|
||||||
|
../../harbour-lib/include/HarbourDebug.h \
|
||||||
|
BooksSettingsPlugin.moc
|
||||||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o BooksSettingsPlugin.o BooksSettingsPlugin.cpp
|
||||||
|
|
||||||
|
BooksColorScheme.o: ../src/BooksColorScheme.cpp ../src/BooksColorScheme.h \
|
||||||
|
../../harbour-lib/include/HarbourDebug.h \
|
||||||
|
../../harbour-lib/include/HarbourUtil.h
|
||||||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o BooksColorScheme.o ../src/BooksColorScheme.cpp
|
||||||
|
|
||||||
|
BooksColorSchemeModel.o: ../src/BooksColorSchemeModel.cpp ../src/BooksColorSchemeModel.h \
|
||||||
|
../src/BooksColorScheme.h \
|
||||||
|
../../harbour-lib/include/HarbourDebug.h
|
||||||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o BooksColorSchemeModel.o ../src/BooksColorSchemeModel.cpp
|
||||||
|
|
||||||
|
BooksSettingsBase.o: ../src/BooksSettingsBase.cpp ../src/BooksSettingsBase.h \
|
||||||
|
../src/BooksTypes.h \
|
||||||
|
../src/BooksColorScheme.h \
|
||||||
|
../src/BooksDefs.h \
|
||||||
|
../../harbour-lib/include/HarbourDebug.h \
|
||||||
|
../../harbour-lib/include/HarbourUtil.h \
|
||||||
|
BooksSettingsBase.moc
|
||||||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o BooksSettingsBase.o ../src/BooksSettingsBase.cpp
|
||||||
|
|
||||||
|
HarbourColorEditorModel.o: ../../harbour-lib/src/HarbourColorEditorModel.cpp ../../harbour-lib/include/HarbourColorEditorModel.h \
|
||||||
|
../../harbour-lib/include/HarbourDebug.h
|
||||||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o HarbourColorEditorModel.o ../../harbour-lib/src/HarbourColorEditorModel.cpp
|
||||||
|
|
||||||
|
HarbourUtil.o: ../../harbour-lib/src/HarbourUtil.cpp ../../harbour-lib/include/HarbourUtil.h
|
||||||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o HarbourUtil.o ../../harbour-lib/src/HarbourUtil.cpp
|
||||||
|
|
||||||
|
moc_BooksColorSchemeModel.o: moc_BooksColorSchemeModel.cpp
|
||||||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_BooksColorSchemeModel.o moc_BooksColorSchemeModel.cpp
|
||||||
|
|
||||||
|
moc_BooksSettingsBase.o: moc_BooksSettingsBase.cpp
|
||||||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_BooksSettingsBase.o moc_BooksSettingsBase.cpp
|
||||||
|
|
||||||
|
moc_HarbourColorEditorModel.o: moc_HarbourColorEditorModel.cpp
|
||||||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_HarbourColorEditorModel.o moc_HarbourColorEditorModel.cpp
|
||||||
|
|
||||||
|
moc_HarbourUtil.o: moc_HarbourUtil.cpp
|
||||||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_HarbourUtil.o moc_HarbourUtil.cpp
|
||||||
|
|
||||||
|
####### Install
|
||||||
|
|
||||||
|
install_target: first FORCE
|
||||||
|
@test -d $(INSTALL_ROOT)/usr/lib/qt5/qml/openrepos/books/settings || mkdir -p $(INSTALL_ROOT)/usr/lib/qt5/qml/openrepos/books/settings
|
||||||
|
-$(INSTALL_PROGRAM) $(TARGET) $(INSTALL_ROOT)/usr/lib/qt5/qml/openrepos/books/settings/$(TARGET)
|
||||||
|
-$(STRIP) --strip-unneeded $(INSTALL_ROOT)/usr/lib/qt5/qml/openrepos/books/settings/$(TARGET)
|
||||||
|
|
||||||
|
uninstall_target: FORCE
|
||||||
|
-$(DEL_FILE) $(INSTALL_ROOT)/usr/lib/qt5/qml/openrepos/books/settings/$(TARGET)
|
||||||
|
-$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/qt5/qml/openrepos/books/settings/
|
||||||
|
|
||||||
|
|
||||||
|
install_import: first FORCE
|
||||||
|
@test -d $(INSTALL_ROOT)/usr/lib/qt5/qml/openrepos/books/settings || mkdir -p $(INSTALL_ROOT)/usr/lib/qt5/qml/openrepos/books/settings
|
||||||
|
-$(INSTALL_FILE) /home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/app/settings/qmldir $(INSTALL_ROOT)/usr/lib/qt5/qml/openrepos/books/settings/
|
||||||
|
|
||||||
|
uninstall_import: FORCE
|
||||||
|
-$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt5/qml/openrepos/books/settings/qmldir
|
||||||
|
-$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/qt5/qml/openrepos/books/settings/
|
||||||
|
|
||||||
|
|
||||||
|
install_settings_json: first FORCE
|
||||||
|
@test -d $(INSTALL_ROOT)/usr/share/jolla-settings/entries/ || mkdir -p $(INSTALL_ROOT)/usr/share/jolla-settings/entries/
|
||||||
|
-$(INSTALL_FILE) /home/sprainbrains/AuroraPlatformSDK/projects/harbour-books/app/settings/openrepos-books.json $(INSTALL_ROOT)/usr/share/jolla-settings/entries/
|
||||||
|
|
||||||
|
uninstall_settings_json: FORCE
|
||||||
|
-$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/jolla-settings/entries/openrepos-books.json
|
||||||
|
-$(DEL_DIR) $(INSTALL_ROOT)/usr/share/jolla-settings/entries/
|
||||||
|
|
||||||
|
|
||||||
|
install: install_target install_import install_settings_json FORCE
|
||||||
|
|
||||||
|
uninstall: uninstall_target uninstall_import uninstall_settings_json FORCE
|
||||||
|
|
||||||
|
FORCE:
|
||||||
|
|
BIN
app/settings/libbookssettings.so
Executable file
BIN
app/settings/libbookssettings.so
Executable file
Binary file not shown.
179
app/settings/moc_BooksColorSchemeModel.cpp
Normal file
179
app/settings/moc_BooksColorSchemeModel.cpp
Normal file
|
@ -0,0 +1,179 @@
|
||||||
|
/****************************************************************************
|
||||||
|
** Meta object code from reading C++ file 'BooksColorSchemeModel.h'
|
||||||
|
**
|
||||||
|
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.3)
|
||||||
|
**
|
||||||
|
** WARNING! All changes made in this file will be lost!
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
|
#include "../src/BooksColorSchemeModel.h"
|
||||||
|
#include <QtCore/qbytearray.h>
|
||||||
|
#include <QtCore/qmetatype.h>
|
||||||
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||||
|
#error "The header file 'BooksColorSchemeModel.h' doesn't include <QObject>."
|
||||||
|
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||||
|
#error "This file was generated using the moc from 5.6.3. 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
|
||||||
|
struct qt_meta_stringdata_BooksColorSchemeModel_t {
|
||||||
|
QByteArrayData data[5];
|
||||||
|
char stringdata0[71];
|
||||||
|
};
|
||||||
|
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||||
|
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||||
|
qptrdiff(offsetof(qt_meta_stringdata_BooksColorSchemeModel_t, stringdata0) + ofs \
|
||||||
|
- idx * sizeof(QByteArrayData)) \
|
||||||
|
)
|
||||||
|
static const qt_meta_stringdata_BooksColorSchemeModel_t qt_meta_stringdata_BooksColorSchemeModel = {
|
||||||
|
{
|
||||||
|
QT_MOC_LITERAL(0, 0, 21), // "BooksColorSchemeModel"
|
||||||
|
QT_MOC_LITERAL(1, 22, 18), // "colorSchemeChanged"
|
||||||
|
QT_MOC_LITERAL(2, 41, 0), // ""
|
||||||
|
QT_MOC_LITERAL(3, 42, 11), // "colorScheme"
|
||||||
|
QT_MOC_LITERAL(4, 54, 16) // "BooksColorScheme"
|
||||||
|
|
||||||
|
},
|
||||||
|
"BooksColorSchemeModel\0colorSchemeChanged\0"
|
||||||
|
"\0colorScheme\0BooksColorScheme"
|
||||||
|
};
|
||||||
|
#undef QT_MOC_LITERAL
|
||||||
|
|
||||||
|
static const uint qt_meta_data_BooksColorSchemeModel[] = {
|
||||||
|
|
||||||
|
// content:
|
||||||
|
7, // revision
|
||||||
|
0, // classname
|
||||||
|
0, 0, // classinfo
|
||||||
|
1, 14, // methods
|
||||||
|
1, 20, // properties
|
||||||
|
0, 0, // enums/sets
|
||||||
|
0, 0, // constructors
|
||||||
|
0, // flags
|
||||||
|
1, // signalCount
|
||||||
|
|
||||||
|
// signals: name, argc, parameters, tag, flags
|
||||||
|
1, 0, 19, 2, 0x06 /* Public */,
|
||||||
|
|
||||||
|
// signals: parameters
|
||||||
|
QMetaType::Void,
|
||||||
|
|
||||||
|
// properties: name, type, flags
|
||||||
|
3, 0x80000000 | 4, 0x0049510b,
|
||||||
|
|
||||||
|
// properties: notify_signal_id
|
||||||
|
0,
|
||||||
|
|
||||||
|
0 // eod
|
||||||
|
};
|
||||||
|
|
||||||
|
void BooksColorSchemeModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||||
|
{
|
||||||
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||||
|
BooksColorSchemeModel *_t = static_cast<BooksColorSchemeModel *>(_o);
|
||||||
|
Q_UNUSED(_t)
|
||||||
|
switch (_id) {
|
||||||
|
case 0: _t->colorSchemeChanged(); break;
|
||||||
|
default: ;
|
||||||
|
}
|
||||||
|
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||||
|
int *result = reinterpret_cast<int *>(_a[0]);
|
||||||
|
void **func = reinterpret_cast<void **>(_a[1]);
|
||||||
|
{
|
||||||
|
typedef void (BooksColorSchemeModel::*_t)();
|
||||||
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BooksColorSchemeModel::colorSchemeChanged)) {
|
||||||
|
*result = 0;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else if (_c == QMetaObject::RegisterPropertyMetaType) {
|
||||||
|
switch (_id) {
|
||||||
|
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||||
|
case 0:
|
||||||
|
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< BooksColorScheme >(); break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifndef QT_NO_PROPERTIES
|
||||||
|
else if (_c == QMetaObject::ReadProperty) {
|
||||||
|
BooksColorSchemeModel *_t = static_cast<BooksColorSchemeModel *>(_o);
|
||||||
|
Q_UNUSED(_t)
|
||||||
|
void *_v = _a[0];
|
||||||
|
switch (_id) {
|
||||||
|
case 0: *reinterpret_cast< BooksColorScheme*>(_v) = _t->colorScheme(); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
} else if (_c == QMetaObject::WriteProperty) {
|
||||||
|
BooksColorSchemeModel *_t = static_cast<BooksColorSchemeModel *>(_o);
|
||||||
|
Q_UNUSED(_t)
|
||||||
|
void *_v = _a[0];
|
||||||
|
switch (_id) {
|
||||||
|
case 0: _t->setColorScheme(*reinterpret_cast< BooksColorScheme*>(_v)); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
} else if (_c == QMetaObject::ResetProperty) {
|
||||||
|
}
|
||||||
|
#endif // QT_NO_PROPERTIES
|
||||||
|
}
|
||||||
|
|
||||||
|
const QMetaObject BooksColorSchemeModel::staticMetaObject = {
|
||||||
|
{ &QAbstractListModel::staticMetaObject, qt_meta_stringdata_BooksColorSchemeModel.data,
|
||||||
|
qt_meta_data_BooksColorSchemeModel, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
const QMetaObject *BooksColorSchemeModel::metaObject() const
|
||||||
|
{
|
||||||
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||||
|
}
|
||||||
|
|
||||||
|
void *BooksColorSchemeModel::qt_metacast(const char *_clname)
|
||||||
|
{
|
||||||
|
if (!_clname) return Q_NULLPTR;
|
||||||
|
if (!strcmp(_clname, qt_meta_stringdata_BooksColorSchemeModel.stringdata0))
|
||||||
|
return static_cast<void*>(const_cast< BooksColorSchemeModel*>(this));
|
||||||
|
return QAbstractListModel::qt_metacast(_clname);
|
||||||
|
}
|
||||||
|
|
||||||
|
int BooksColorSchemeModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||||
|
{
|
||||||
|
_id = QAbstractListModel::qt_metacall(_c, _id, _a);
|
||||||
|
if (_id < 0)
|
||||||
|
return _id;
|
||||||
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||||
|
if (_id < 1)
|
||||||
|
qt_static_metacall(this, _c, _id, _a);
|
||||||
|
_id -= 1;
|
||||||
|
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||||
|
if (_id < 1)
|
||||||
|
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||||
|
_id -= 1;
|
||||||
|
}
|
||||||
|
#ifndef QT_NO_PROPERTIES
|
||||||
|
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||||
|
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||||
|
qt_static_metacall(this, _c, _id, _a);
|
||||||
|
_id -= 1;
|
||||||
|
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||||
|
_id -= 1;
|
||||||
|
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||||
|
_id -= 1;
|
||||||
|
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||||
|
_id -= 1;
|
||||||
|
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||||
|
_id -= 1;
|
||||||
|
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||||
|
_id -= 1;
|
||||||
|
}
|
||||||
|
#endif // QT_NO_PROPERTIES
|
||||||
|
return _id;
|
||||||
|
}
|
||||||
|
|
||||||
|
// SIGNAL 0
|
||||||
|
void BooksColorSchemeModel::colorSchemeChanged()
|
||||||
|
{
|
||||||
|
QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
|
||||||
|
}
|
||||||
|
QT_END_MOC_NAMESPACE
|
BIN
app/settings/moc_BooksColorSchemeModel.o
Normal file
BIN
app/settings/moc_BooksColorSchemeModel.o
Normal file
Binary file not shown.
345
app/settings/moc_BooksSettingsBase.cpp
Normal file
345
app/settings/moc_BooksSettingsBase.cpp
Normal file
|
@ -0,0 +1,345 @@
|
||||||
|
/****************************************************************************
|
||||||
|
** Meta object code from reading C++ file 'BooksSettingsBase.h'
|
||||||
|
**
|
||||||
|
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.3)
|
||||||
|
**
|
||||||
|
** WARNING! All changes made in this file will be lost!
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
|
#include "../src/BooksSettingsBase.h"
|
||||||
|
#include <QtCore/qbytearray.h>
|
||||||
|
#include <QtCore/qmetatype.h>
|
||||||
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||||
|
#error "The header file 'BooksSettingsBase.h' doesn't include <QObject>."
|
||||||
|
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||||
|
#error "This file was generated using the moc from 5.6.3. 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
|
||||||
|
struct qt_meta_stringdata_BooksSettingsBase_t {
|
||||||
|
QByteArrayData data[23];
|
||||||
|
char stringdata0[408];
|
||||||
|
};
|
||||||
|
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||||
|
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||||
|
qptrdiff(offsetof(qt_meta_stringdata_BooksSettingsBase_t, stringdata0) + ofs \
|
||||||
|
- idx * sizeof(QByteArrayData)) \
|
||||||
|
)
|
||||||
|
static const qt_meta_stringdata_BooksSettingsBase_t qt_meta_stringdata_BooksSettingsBase = {
|
||||||
|
{
|
||||||
|
QT_MOC_LITERAL(0, 0, 17), // "BooksSettingsBase"
|
||||||
|
QT_MOC_LITERAL(1, 18, 12), // "themeChanged"
|
||||||
|
QT_MOC_LITERAL(2, 31, 0), // ""
|
||||||
|
QT_MOC_LITERAL(3, 32, 18), // "darkOnLightChanged"
|
||||||
|
QT_MOC_LITERAL(4, 51, 16), // "nightModeChanged"
|
||||||
|
QT_MOC_LITERAL(5, 68, 18), // "colorSchemeChanged"
|
||||||
|
QT_MOC_LITERAL(6, 87, 24), // "customColorSchemeChanged"
|
||||||
|
QT_MOC_LITERAL(7, 112, 27), // "useCustomColorSchemeChanged"
|
||||||
|
QT_MOC_LITERAL(8, 140, 22), // "availableColorsChanged"
|
||||||
|
QT_MOC_LITERAL(9, 163, 5), // "theme"
|
||||||
|
QT_MOC_LITERAL(10, 169, 11), // "darkOnLight"
|
||||||
|
QT_MOC_LITERAL(11, 181, 9), // "nightMode"
|
||||||
|
QT_MOC_LITERAL(12, 191, 19), // "pageBackgroundColor"
|
||||||
|
QT_MOC_LITERAL(13, 211, 27), // "invertedPageBackgroundColor"
|
||||||
|
QT_MOC_LITERAL(14, 239, 20), // "primaryPageToolColor"
|
||||||
|
QT_MOC_LITERAL(15, 260, 22), // "highlightPageToolColor"
|
||||||
|
QT_MOC_LITERAL(16, 283, 11), // "colorScheme"
|
||||||
|
QT_MOC_LITERAL(17, 295, 16), // "BooksColorScheme"
|
||||||
|
QT_MOC_LITERAL(18, 312, 17), // "customColorScheme"
|
||||||
|
QT_MOC_LITERAL(19, 330, 26), // "customNightModeColorScheme"
|
||||||
|
QT_MOC_LITERAL(20, 357, 20), // "useCustomColorScheme"
|
||||||
|
QT_MOC_LITERAL(21, 378, 13), // "defaultColors"
|
||||||
|
QT_MOC_LITERAL(22, 392, 15) // "availableColors"
|
||||||
|
|
||||||
|
},
|
||||||
|
"BooksSettingsBase\0themeChanged\0\0"
|
||||||
|
"darkOnLightChanged\0nightModeChanged\0"
|
||||||
|
"colorSchemeChanged\0customColorSchemeChanged\0"
|
||||||
|
"useCustomColorSchemeChanged\0"
|
||||||
|
"availableColorsChanged\0theme\0darkOnLight\0"
|
||||||
|
"nightMode\0pageBackgroundColor\0"
|
||||||
|
"invertedPageBackgroundColor\0"
|
||||||
|
"primaryPageToolColor\0highlightPageToolColor\0"
|
||||||
|
"colorScheme\0BooksColorScheme\0"
|
||||||
|
"customColorScheme\0customNightModeColorScheme\0"
|
||||||
|
"useCustomColorScheme\0defaultColors\0"
|
||||||
|
"availableColors"
|
||||||
|
};
|
||||||
|
#undef QT_MOC_LITERAL
|
||||||
|
|
||||||
|
static const uint qt_meta_data_BooksSettingsBase[] = {
|
||||||
|
|
||||||
|
// content:
|
||||||
|
7, // revision
|
||||||
|
0, // classname
|
||||||
|
0, 0, // classinfo
|
||||||
|
7, 14, // methods
|
||||||
|
13, 56, // properties
|
||||||
|
0, 0, // enums/sets
|
||||||
|
0, 0, // constructors
|
||||||
|
0, // flags
|
||||||
|
7, // signalCount
|
||||||
|
|
||||||
|
// signals: name, argc, parameters, tag, flags
|
||||||
|
1, 0, 49, 2, 0x06 /* Public */,
|
||||||
|
3, 0, 50, 2, 0x06 /* Public */,
|
||||||
|
4, 0, 51, 2, 0x06 /* Public */,
|
||||||
|
5, 0, 52, 2, 0x06 /* Public */,
|
||||||
|
6, 0, 53, 2, 0x06 /* Public */,
|
||||||
|
7, 0, 54, 2, 0x06 /* Public */,
|
||||||
|
8, 0, 55, 2, 0x06 /* Public */,
|
||||||
|
|
||||||
|
// signals: parameters
|
||||||
|
QMetaType::Void,
|
||||||
|
QMetaType::Void,
|
||||||
|
QMetaType::Void,
|
||||||
|
QMetaType::Void,
|
||||||
|
QMetaType::Void,
|
||||||
|
QMetaType::Void,
|
||||||
|
QMetaType::Void,
|
||||||
|
|
||||||
|
// properties: name, type, flags
|
||||||
|
9, QMetaType::QObjectStar, 0x00495103,
|
||||||
|
10, QMetaType::Bool, 0x00495001,
|
||||||
|
11, QMetaType::Bool, 0x00495103,
|
||||||
|
12, QMetaType::QColor, 0x00495001,
|
||||||
|
13, QMetaType::QColor, 0x00495001,
|
||||||
|
14, QMetaType::QColor, 0x00495001,
|
||||||
|
15, QMetaType::QColor, 0x00495001,
|
||||||
|
16, 0x80000000 | 17, 0x00495009,
|
||||||
|
18, 0x80000000 | 17, 0x0049510b,
|
||||||
|
19, 0x80000000 | 17, 0x00495009,
|
||||||
|
20, QMetaType::Bool, 0x00495103,
|
||||||
|
21, QMetaType::QStringList, 0x00095401,
|
||||||
|
22, QMetaType::QStringList, 0x00495103,
|
||||||
|
|
||||||
|
// properties: notify_signal_id
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
3,
|
||||||
|
3,
|
||||||
|
3,
|
||||||
|
3,
|
||||||
|
3,
|
||||||
|
4,
|
||||||
|
4,
|
||||||
|
5,
|
||||||
|
0,
|
||||||
|
6,
|
||||||
|
|
||||||
|
0 // eod
|
||||||
|
};
|
||||||
|
|
||||||
|
void BooksSettingsBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||||
|
{
|
||||||
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||||
|
BooksSettingsBase *_t = static_cast<BooksSettingsBase *>(_o);
|
||||||
|
Q_UNUSED(_t)
|
||||||
|
switch (_id) {
|
||||||
|
case 0: _t->themeChanged(); break;
|
||||||
|
case 1: _t->darkOnLightChanged(); break;
|
||||||
|
case 2: _t->nightModeChanged(); break;
|
||||||
|
case 3: _t->colorSchemeChanged(); break;
|
||||||
|
case 4: _t->customColorSchemeChanged(); break;
|
||||||
|
case 5: _t->useCustomColorSchemeChanged(); break;
|
||||||
|
case 6: _t->availableColorsChanged(); break;
|
||||||
|
default: ;
|
||||||
|
}
|
||||||
|
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||||
|
int *result = reinterpret_cast<int *>(_a[0]);
|
||||||
|
void **func = reinterpret_cast<void **>(_a[1]);
|
||||||
|
{
|
||||||
|
typedef void (BooksSettingsBase::*_t)();
|
||||||
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BooksSettingsBase::themeChanged)) {
|
||||||
|
*result = 0;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
typedef void (BooksSettingsBase::*_t)();
|
||||||
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BooksSettingsBase::darkOnLightChanged)) {
|
||||||
|
*result = 1;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
typedef void (BooksSettingsBase::*_t)();
|
||||||
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BooksSettingsBase::nightModeChanged)) {
|
||||||
|
*result = 2;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
typedef void (BooksSettingsBase::*_t)();
|
||||||
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BooksSettingsBase::colorSchemeChanged)) {
|
||||||
|
*result = 3;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
typedef void (BooksSettingsBase::*_t)();
|
||||||
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BooksSettingsBase::customColorSchemeChanged)) {
|
||||||
|
*result = 4;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
typedef void (BooksSettingsBase::*_t)();
|
||||||
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BooksSettingsBase::useCustomColorSchemeChanged)) {
|
||||||
|
*result = 5;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
typedef void (BooksSettingsBase::*_t)();
|
||||||
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BooksSettingsBase::availableColorsChanged)) {
|
||||||
|
*result = 6;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else if (_c == QMetaObject::RegisterPropertyMetaType) {
|
||||||
|
switch (_id) {
|
||||||
|
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||||
|
case 9:
|
||||||
|
case 8:
|
||||||
|
case 7:
|
||||||
|
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< BooksColorScheme >(); break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifndef QT_NO_PROPERTIES
|
||||||
|
else if (_c == QMetaObject::ReadProperty) {
|
||||||
|
BooksSettingsBase *_t = static_cast<BooksSettingsBase *>(_o);
|
||||||
|
Q_UNUSED(_t)
|
||||||
|
void *_v = _a[0];
|
||||||
|
switch (_id) {
|
||||||
|
case 0: *reinterpret_cast< QObject**>(_v) = _t->theme(); break;
|
||||||
|
case 1: *reinterpret_cast< bool*>(_v) = _t->darkOnLight(); break;
|
||||||
|
case 2: *reinterpret_cast< bool*>(_v) = _t->nightMode(); break;
|
||||||
|
case 3: *reinterpret_cast< QColor*>(_v) = _t->pageBackgroundColor(); break;
|
||||||
|
case 4: *reinterpret_cast< QColor*>(_v) = _t->invertedPageBackgroundColor(); break;
|
||||||
|
case 5: *reinterpret_cast< QColor*>(_v) = _t->primaryPageToolColor(); break;
|
||||||
|
case 6: *reinterpret_cast< QColor*>(_v) = _t->highlightPageToolColor(); break;
|
||||||
|
case 7: *reinterpret_cast< BooksColorScheme*>(_v) = _t->colorScheme(); break;
|
||||||
|
case 8: *reinterpret_cast< BooksColorScheme*>(_v) = _t->customColorScheme(); break;
|
||||||
|
case 9: *reinterpret_cast< BooksColorScheme*>(_v) = _t->customNightModeColorScheme(); break;
|
||||||
|
case 10: *reinterpret_cast< bool*>(_v) = _t->useCustomColorScheme(); break;
|
||||||
|
case 11: *reinterpret_cast< QStringList*>(_v) = _t->defaultColors(); break;
|
||||||
|
case 12: *reinterpret_cast< QStringList*>(_v) = _t->availableColors(); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
} else if (_c == QMetaObject::WriteProperty) {
|
||||||
|
BooksSettingsBase *_t = static_cast<BooksSettingsBase *>(_o);
|
||||||
|
Q_UNUSED(_t)
|
||||||
|
void *_v = _a[0];
|
||||||
|
switch (_id) {
|
||||||
|
case 0: _t->setTheme(*reinterpret_cast< QObject**>(_v)); break;
|
||||||
|
case 2: _t->setNightMode(*reinterpret_cast< bool*>(_v)); break;
|
||||||
|
case 8: _t->setCustomColorScheme(*reinterpret_cast< BooksColorScheme*>(_v)); break;
|
||||||
|
case 10: _t->setUseCustomColorScheme(*reinterpret_cast< bool*>(_v)); break;
|
||||||
|
case 12: _t->setAvailableColors(*reinterpret_cast< QStringList*>(_v)); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
} else if (_c == QMetaObject::ResetProperty) {
|
||||||
|
}
|
||||||
|
#endif // QT_NO_PROPERTIES
|
||||||
|
}
|
||||||
|
|
||||||
|
const QMetaObject BooksSettingsBase::staticMetaObject = {
|
||||||
|
{ &QObject::staticMetaObject, qt_meta_stringdata_BooksSettingsBase.data,
|
||||||
|
qt_meta_data_BooksSettingsBase, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
const QMetaObject *BooksSettingsBase::metaObject() const
|
||||||
|
{
|
||||||
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||||
|
}
|
||||||
|
|
||||||
|
void *BooksSettingsBase::qt_metacast(const char *_clname)
|
||||||
|
{
|
||||||
|
if (!_clname) return Q_NULLPTR;
|
||||||
|
if (!strcmp(_clname, qt_meta_stringdata_BooksSettingsBase.stringdata0))
|
||||||
|
return static_cast<void*>(const_cast< BooksSettingsBase*>(this));
|
||||||
|
return QObject::qt_metacast(_clname);
|
||||||
|
}
|
||||||
|
|
||||||
|
int BooksSettingsBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||||
|
{
|
||||||
|
_id = QObject::qt_metacall(_c, _id, _a);
|
||||||
|
if (_id < 0)
|
||||||
|
return _id;
|
||||||
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||||
|
if (_id < 7)
|
||||||
|
qt_static_metacall(this, _c, _id, _a);
|
||||||
|
_id -= 7;
|
||||||
|
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||||
|
if (_id < 7)
|
||||||
|
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||||
|
_id -= 7;
|
||||||
|
}
|
||||||
|
#ifndef QT_NO_PROPERTIES
|
||||||
|
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||||
|
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||||
|
qt_static_metacall(this, _c, _id, _a);
|
||||||
|
_id -= 13;
|
||||||
|
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||||
|
_id -= 13;
|
||||||
|
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||||
|
_id -= 13;
|
||||||
|
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||||
|
_id -= 13;
|
||||||
|
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||||
|
_id -= 13;
|
||||||
|
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||||
|
_id -= 13;
|
||||||
|
}
|
||||||
|
#endif // QT_NO_PROPERTIES
|
||||||
|
return _id;
|
||||||
|
}
|
||||||
|
|
||||||
|
// SIGNAL 0
|
||||||
|
void BooksSettingsBase::themeChanged()
|
||||||
|
{
|
||||||
|
QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
|
||||||
|
}
|
||||||
|
|
||||||
|
// SIGNAL 1
|
||||||
|
void BooksSettingsBase::darkOnLightChanged()
|
||||||
|
{
|
||||||
|
QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
|
||||||
|
}
|
||||||
|
|
||||||
|
// SIGNAL 2
|
||||||
|
void BooksSettingsBase::nightModeChanged()
|
||||||
|
{
|
||||||
|
QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
|
||||||
|
}
|
||||||
|
|
||||||
|
// SIGNAL 3
|
||||||
|
void BooksSettingsBase::colorSchemeChanged()
|
||||||
|
{
|
||||||
|
QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
|
||||||
|
}
|
||||||
|
|
||||||
|
// SIGNAL 4
|
||||||
|
void BooksSettingsBase::customColorSchemeChanged()
|
||||||
|
{
|
||||||
|
QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
|
||||||
|
}
|
||||||
|
|
||||||
|
// SIGNAL 5
|
||||||
|
void BooksSettingsBase::useCustomColorSchemeChanged()
|
||||||
|
{
|
||||||
|
QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
|
||||||
|
}
|
||||||
|
|
||||||
|
// SIGNAL 6
|
||||||
|
void BooksSettingsBase::availableColorsChanged()
|
||||||
|
{
|
||||||
|
QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
|
||||||
|
}
|
||||||
|
QT_END_MOC_NAMESPACE
|
BIN
app/settings/moc_BooksSettingsBase.o
Normal file
BIN
app/settings/moc_BooksSettingsBase.o
Normal file
Binary file not shown.
221
app/settings/moc_HarbourColorEditorModel.cpp
Normal file
221
app/settings/moc_HarbourColorEditorModel.cpp
Normal file
|
@ -0,0 +1,221 @@
|
||||||
|
/****************************************************************************
|
||||||
|
** Meta object code from reading C++ file 'HarbourColorEditorModel.h'
|
||||||
|
**
|
||||||
|
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.3)
|
||||||
|
**
|
||||||
|
** WARNING! All changes made in this file will be lost!
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
|
#include "../../harbour-lib/include/HarbourColorEditorModel.h"
|
||||||
|
#include <QtCore/qbytearray.h>
|
||||||
|
#include <QtCore/qmetatype.h>
|
||||||
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||||
|
#error "The header file 'HarbourColorEditorModel.h' doesn't include <QObject>."
|
||||||
|
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||||
|
#error "This file was generated using the moc from 5.6.3. 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
|
||||||
|
struct qt_meta_stringdata_HarbourColorEditorModel_t {
|
||||||
|
QByteArrayData data[13];
|
||||||
|
char stringdata0[132];
|
||||||
|
};
|
||||||
|
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||||
|
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||||
|
qptrdiff(offsetof(qt_meta_stringdata_HarbourColorEditorModel_t, stringdata0) + ofs \
|
||||||
|
- idx * sizeof(QByteArrayData)) \
|
||||||
|
)
|
||||||
|
static const qt_meta_stringdata_HarbourColorEditorModel_t qt_meta_stringdata_HarbourColorEditorModel = {
|
||||||
|
{
|
||||||
|
QT_MOC_LITERAL(0, 0, 23), // "HarbourColorEditorModel"
|
||||||
|
QT_MOC_LITERAL(1, 24, 13), // "colorsChanged"
|
||||||
|
QT_MOC_LITERAL(2, 38, 0), // ""
|
||||||
|
QT_MOC_LITERAL(3, 39, 14), // "dragPosChanged"
|
||||||
|
QT_MOC_LITERAL(4, 54, 8), // "addColor"
|
||||||
|
QT_MOC_LITERAL(5, 63, 6), // "aColor"
|
||||||
|
QT_MOC_LITERAL(6, 70, 7), // "indexOf"
|
||||||
|
QT_MOC_LITERAL(7, 78, 6), // "colors"
|
||||||
|
QT_MOC_LITERAL(8, 85, 7), // "dragPos"
|
||||||
|
QT_MOC_LITERAL(9, 93, 8), // "ItemType"
|
||||||
|
QT_MOC_LITERAL(10, 102, 9), // "ColorItem"
|
||||||
|
QT_MOC_LITERAL(11, 112, 11), // "TrashedItem"
|
||||||
|
QT_MOC_LITERAL(12, 124, 7) // "AddItem"
|
||||||
|
|
||||||
|
},
|
||||||
|
"HarbourColorEditorModel\0colorsChanged\0"
|
||||||
|
"\0dragPosChanged\0addColor\0aColor\0indexOf\0"
|
||||||
|
"colors\0dragPos\0ItemType\0ColorItem\0"
|
||||||
|
"TrashedItem\0AddItem"
|
||||||
|
};
|
||||||
|
#undef QT_MOC_LITERAL
|
||||||
|
|
||||||
|
static const uint qt_meta_data_HarbourColorEditorModel[] = {
|
||||||
|
|
||||||
|
// content:
|
||||||
|
7, // revision
|
||||||
|
0, // classname
|
||||||
|
0, 0, // classinfo
|
||||||
|
4, 14, // methods
|
||||||
|
2, 42, // properties
|
||||||
|
1, 50, // enums/sets
|
||||||
|
0, 0, // constructors
|
||||||
|
0, // flags
|
||||||
|
2, // signalCount
|
||||||
|
|
||||||
|
// signals: name, argc, parameters, tag, flags
|
||||||
|
1, 0, 34, 2, 0x06 /* Public */,
|
||||||
|
3, 0, 35, 2, 0x06 /* Public */,
|
||||||
|
|
||||||
|
// methods: name, argc, parameters, tag, flags
|
||||||
|
4, 1, 36, 2, 0x02 /* Public */,
|
||||||
|
6, 1, 39, 2, 0x02 /* Public */,
|
||||||
|
|
||||||
|
// signals: parameters
|
||||||
|
QMetaType::Void,
|
||||||
|
QMetaType::Void,
|
||||||
|
|
||||||
|
// methods: parameters
|
||||||
|
QMetaType::Void, QMetaType::QColor, 5,
|
||||||
|
QMetaType::Int, QMetaType::QColor, 5,
|
||||||
|
|
||||||
|
// properties: name, type, flags
|
||||||
|
7, QMetaType::QStringList, 0x00495103,
|
||||||
|
8, QMetaType::Int, 0x00495103,
|
||||||
|
|
||||||
|
// properties: notify_signal_id
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
|
||||||
|
// enums: name, flags, count, data
|
||||||
|
9, 0x0, 3, 54,
|
||||||
|
|
||||||
|
// enum data: key, value
|
||||||
|
10, uint(HarbourColorEditorModel::ColorItem),
|
||||||
|
11, uint(HarbourColorEditorModel::TrashedItem),
|
||||||
|
12, uint(HarbourColorEditorModel::AddItem),
|
||||||
|
|
||||||
|
0 // eod
|
||||||
|
};
|
||||||
|
|
||||||
|
void HarbourColorEditorModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||||
|
{
|
||||||
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||||
|
HarbourColorEditorModel *_t = static_cast<HarbourColorEditorModel *>(_o);
|
||||||
|
Q_UNUSED(_t)
|
||||||
|
switch (_id) {
|
||||||
|
case 0: _t->colorsChanged(); break;
|
||||||
|
case 1: _t->dragPosChanged(); break;
|
||||||
|
case 2: _t->addColor((*reinterpret_cast< QColor(*)>(_a[1]))); break;
|
||||||
|
case 3: { int _r = _t->indexOf((*reinterpret_cast< QColor(*)>(_a[1])));
|
||||||
|
if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; } break;
|
||||||
|
default: ;
|
||||||
|
}
|
||||||
|
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||||
|
int *result = reinterpret_cast<int *>(_a[0]);
|
||||||
|
void **func = reinterpret_cast<void **>(_a[1]);
|
||||||
|
{
|
||||||
|
typedef void (HarbourColorEditorModel::*_t)();
|
||||||
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&HarbourColorEditorModel::colorsChanged)) {
|
||||||
|
*result = 0;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
typedef void (HarbourColorEditorModel::*_t)();
|
||||||
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&HarbourColorEditorModel::dragPosChanged)) {
|
||||||
|
*result = 1;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#ifndef QT_NO_PROPERTIES
|
||||||
|
else if (_c == QMetaObject::ReadProperty) {
|
||||||
|
HarbourColorEditorModel *_t = static_cast<HarbourColorEditorModel *>(_o);
|
||||||
|
Q_UNUSED(_t)
|
||||||
|
void *_v = _a[0];
|
||||||
|
switch (_id) {
|
||||||
|
case 0: *reinterpret_cast< QStringList*>(_v) = _t->getColors(); break;
|
||||||
|
case 1: *reinterpret_cast< int*>(_v) = _t->getDragPos(); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
} else if (_c == QMetaObject::WriteProperty) {
|
||||||
|
HarbourColorEditorModel *_t = static_cast<HarbourColorEditorModel *>(_o);
|
||||||
|
Q_UNUSED(_t)
|
||||||
|
void *_v = _a[0];
|
||||||
|
switch (_id) {
|
||||||
|
case 0: _t->setColors(*reinterpret_cast< QStringList*>(_v)); break;
|
||||||
|
case 1: _t->setDragPos(*reinterpret_cast< int*>(_v)); break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
} else if (_c == QMetaObject::ResetProperty) {
|
||||||
|
}
|
||||||
|
#endif // QT_NO_PROPERTIES
|
||||||
|
}
|
||||||
|
|
||||||
|
const QMetaObject HarbourColorEditorModel::staticMetaObject = {
|
||||||
|
{ &QAbstractListModel::staticMetaObject, qt_meta_stringdata_HarbourColorEditorModel.data,
|
||||||
|
qt_meta_data_HarbourColorEditorModel, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
const QMetaObject *HarbourColorEditorModel::metaObject() const
|
||||||
|
{
|
||||||
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||||
|
}
|
||||||
|
|
||||||
|
void *HarbourColorEditorModel::qt_metacast(const char *_clname)
|
||||||
|
{
|
||||||
|
if (!_clname) return Q_NULLPTR;
|
||||||
|
if (!strcmp(_clname, qt_meta_stringdata_HarbourColorEditorModel.stringdata0))
|
||||||
|
return static_cast<void*>(const_cast< HarbourColorEditorModel*>(this));
|
||||||
|
return QAbstractListModel::qt_metacast(_clname);
|
||||||
|
}
|
||||||
|
|
||||||
|
int HarbourColorEditorModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||||
|
{
|
||||||
|
_id = QAbstractListModel::qt_metacall(_c, _id, _a);
|
||||||
|
if (_id < 0)
|
||||||
|
return _id;
|
||||||
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||||
|
if (_id < 4)
|
||||||
|
qt_static_metacall(this, _c, _id, _a);
|
||||||
|
_id -= 4;
|
||||||
|
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||||
|
if (_id < 4)
|
||||||
|
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||||
|
_id -= 4;
|
||||||
|
}
|
||||||
|
#ifndef QT_NO_PROPERTIES
|
||||||
|
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||||
|
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||||
|
qt_static_metacall(this, _c, _id, _a);
|
||||||
|
_id -= 2;
|
||||||
|
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||||
|
_id -= 2;
|
||||||
|
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||||
|
_id -= 2;
|
||||||
|
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||||
|
_id -= 2;
|
||||||
|
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||||
|
_id -= 2;
|
||||||
|
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||||
|
_id -= 2;
|
||||||
|
}
|
||||||
|
#endif // QT_NO_PROPERTIES
|
||||||
|
return _id;
|
||||||
|
}
|
||||||
|
|
||||||
|
// SIGNAL 0
|
||||||
|
void HarbourColorEditorModel::colorsChanged()
|
||||||
|
{
|
||||||
|
QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
|
||||||
|
}
|
||||||
|
|
||||||
|
// SIGNAL 1
|
||||||
|
void HarbourColorEditorModel::dragPosChanged()
|
||||||
|
{
|
||||||
|
QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
|
||||||
|
}
|
||||||
|
QT_END_MOC_NAMESPACE
|
BIN
app/settings/moc_HarbourColorEditorModel.o
Normal file
BIN
app/settings/moc_HarbourColorEditorModel.o
Normal file
Binary file not shown.
111
app/settings/moc_HarbourUtil.cpp
Normal file
111
app/settings/moc_HarbourUtil.cpp
Normal file
|
@ -0,0 +1,111 @@
|
||||||
|
/****************************************************************************
|
||||||
|
** Meta object code from reading C++ file 'HarbourUtil.h'
|
||||||
|
**
|
||||||
|
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.3)
|
||||||
|
**
|
||||||
|
** WARNING! All changes made in this file will be lost!
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
|
#include "../../harbour-lib/include/HarbourUtil.h"
|
||||||
|
#include <QtCore/qbytearray.h>
|
||||||
|
#include <QtCore/qmetatype.h>
|
||||||
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||||
|
#error "The header file 'HarbourUtil.h' doesn't include <QObject>."
|
||||||
|
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||||
|
#error "This file was generated using the moc from 5.6.3. 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
|
||||||
|
struct qt_meta_stringdata_HarbourUtil_t {
|
||||||
|
QByteArrayData data[3];
|
||||||
|
char stringdata0[27];
|
||||||
|
};
|
||||||
|
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||||
|
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||||
|
qptrdiff(offsetof(qt_meta_stringdata_HarbourUtil_t, stringdata0) + ofs \
|
||||||
|
- idx * sizeof(QByteArrayData)) \
|
||||||
|
)
|
||||||
|
static const qt_meta_stringdata_HarbourUtil_t qt_meta_stringdata_HarbourUtil = {
|
||||||
|
{
|
||||||
|
QT_MOC_LITERAL(0, 0, 11), // "HarbourUtil"
|
||||||
|
QT_MOC_LITERAL(1, 12, 13), // "invertedColor"
|
||||||
|
QT_MOC_LITERAL(2, 26, 0) // ""
|
||||||
|
|
||||||
|
},
|
||||||
|
"HarbourUtil\0invertedColor\0"
|
||||||
|
};
|
||||||
|
#undef QT_MOC_LITERAL
|
||||||
|
|
||||||
|
static const uint qt_meta_data_HarbourUtil[] = {
|
||||||
|
|
||||||
|
// content:
|
||||||
|
7, // revision
|
||||||
|
0, // classname
|
||||||
|
0, 0, // classinfo
|
||||||
|
1, 14, // methods
|
||||||
|
0, 0, // properties
|
||||||
|
0, 0, // enums/sets
|
||||||
|
0, 0, // constructors
|
||||||
|
0, // flags
|
||||||
|
0, // signalCount
|
||||||
|
|
||||||
|
// methods: name, argc, parameters, tag, flags
|
||||||
|
1, 1, 19, 2, 0x02 /* Public */,
|
||||||
|
|
||||||
|
// methods: parameters
|
||||||
|
QMetaType::QColor, QMetaType::QColor, 2,
|
||||||
|
|
||||||
|
0 // eod
|
||||||
|
};
|
||||||
|
|
||||||
|
void HarbourUtil::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||||
|
{
|
||||||
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||||
|
HarbourUtil *_t = static_cast<HarbourUtil *>(_o);
|
||||||
|
Q_UNUSED(_t)
|
||||||
|
switch (_id) {
|
||||||
|
case 0: { QColor _r = _t->invertedColor((*reinterpret_cast< const QColor(*)>(_a[1])));
|
||||||
|
if (_a[0]) *reinterpret_cast< QColor*>(_a[0]) = _r; } break;
|
||||||
|
default: ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const QMetaObject HarbourUtil::staticMetaObject = {
|
||||||
|
{ &QObject::staticMetaObject, qt_meta_stringdata_HarbourUtil.data,
|
||||||
|
qt_meta_data_HarbourUtil, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
const QMetaObject *HarbourUtil::metaObject() const
|
||||||
|
{
|
||||||
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||||
|
}
|
||||||
|
|
||||||
|
void *HarbourUtil::qt_metacast(const char *_clname)
|
||||||
|
{
|
||||||
|
if (!_clname) return Q_NULLPTR;
|
||||||
|
if (!strcmp(_clname, qt_meta_stringdata_HarbourUtil.stringdata0))
|
||||||
|
return static_cast<void*>(const_cast< HarbourUtil*>(this));
|
||||||
|
return QObject::qt_metacast(_clname);
|
||||||
|
}
|
||||||
|
|
||||||
|
int HarbourUtil::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||||
|
{
|
||||||
|
_id = QObject::qt_metacall(_c, _id, _a);
|
||||||
|
if (_id < 0)
|
||||||
|
return _id;
|
||||||
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||||
|
if (_id < 1)
|
||||||
|
qt_static_metacall(this, _c, _id, _a);
|
||||||
|
_id -= 1;
|
||||||
|
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||||
|
if (_id < 1)
|
||||||
|
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||||
|
_id -= 1;
|
||||||
|
}
|
||||||
|
return _id;
|
||||||
|
}
|
||||||
|
QT_END_MOC_NAMESPACE
|
BIN
app/settings/moc_HarbourUtil.o
Normal file
BIN
app/settings/moc_HarbourUtil.o
Normal file
Binary file not shown.
|
@ -278,7 +278,7 @@ private:
|
||||||
static bool iMissing;
|
static bool iMissing;
|
||||||
};
|
};
|
||||||
|
|
||||||
const char* BooksCoverWidget::DefaultImage::iImageName = "default-cover.jpg";
|
const char* BooksCoverWidget::DefaultImage::iImageName = "../qml/images/default-cover.jpg";
|
||||||
QImage* BooksCoverWidget::DefaultImage::iImage = NULL;
|
QImage* BooksCoverWidget::DefaultImage::iImage = NULL;
|
||||||
QImage* BooksCoverWidget::DefaultImage::iScaledImage = NULL;
|
QImage* BooksCoverWidget::DefaultImage::iScaledImage = NULL;
|
||||||
int BooksCoverWidget::DefaultImage::iRefCount = 0;
|
int BooksCoverWidget::DefaultImage::iRefCount = 0;
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
# define BOOKS_APP_NAME "openrepos-books"
|
# define BOOKS_APP_NAME "openrepos-books"
|
||||||
# define BOOKS_SETTINGS_MENU false
|
# define BOOKS_SETTINGS_MENU false
|
||||||
#else
|
#else
|
||||||
# define BOOKS_APP_NAME "harbour-books"
|
# define BOOKS_APP_NAME "org.monich.harbour.books"
|
||||||
# define BOOKS_SETTINGS_MENU true
|
# define BOOKS_SETTINGS_MENU true
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
#include "formats/xhtml/XHTMLReader.h"
|
#include "formats/xhtml/XHTMLReader.h"
|
||||||
#include "library/Tag.h"
|
#include "library/Tag.h"
|
||||||
|
|
||||||
#include <sailfishapp.h>
|
#include <auroraapp.h>
|
||||||
#include <MGConfItem>
|
#include <MGConfItem>
|
||||||
|
|
||||||
#include <QGuiApplication>
|
#include <QGuiApplication>
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
#include "ZLibrary.h"
|
#include "ZLibrary.h"
|
||||||
#include "ZLLanguageUtil.h"
|
#include "ZLLanguageUtil.h"
|
||||||
|
|
||||||
#include <sailfishapp.h>
|
#include <auroraapp.h>
|
||||||
|
|
||||||
#include <QGuiApplication>
|
#include <QGuiApplication>
|
||||||
#include <QQuickView>
|
#include <QQuickView>
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
|
|
||||||
Q_DECL_EXPORT int main(int argc, char **argv)
|
Q_DECL_EXPORT int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
QGuiApplication* app = SailfishApp::application(argc, argv);
|
QGuiApplication* app = Aurora::Application::application(argc, argv);
|
||||||
|
|
||||||
qRegisterMetaType<BooksPos>();
|
qRegisterMetaType<BooksPos>();
|
||||||
qRegisterMetaType<BooksColorScheme>();
|
qRegisterMetaType<BooksColorScheme>();
|
||||||
|
@ -116,9 +116,10 @@ Q_DECL_EXPORT int main(int argc, char **argv)
|
||||||
#ifdef OPENREPOS
|
#ifdef OPENREPOS
|
||||||
QString transDir("/usr/share/translations");
|
QString transDir("/usr/share/translations");
|
||||||
#else
|
#else
|
||||||
QString transDir = SailfishApp::pathTo("translations").toLocalFile();
|
QString transDir = Aurora::Application::pathTo("translations").toLocalFile();
|
||||||
#endif
|
#endif
|
||||||
QString transFile(BOOKS_APP_NAME);
|
QString transFile(BOOKS_APP_NAME);
|
||||||
|
|
||||||
if (translator->load(locale, transFile, "-", transDir) ||
|
if (translator->load(locale, transFile, "-", transDir) ||
|
||||||
translator->load(transFile, transDir)) {
|
translator->load(transFile, transDir)) {
|
||||||
app->installTranslator(translator);
|
app->installTranslator(translator);
|
||||||
|
@ -137,7 +138,7 @@ Q_DECL_EXPORT int main(int argc, char **argv)
|
||||||
BOOKS_QML_FILE));
|
BOOKS_QML_FILE));
|
||||||
HDEBUG("qml file" << qPrintable(qml));
|
HDEBUG("qml file" << qPrintable(qml));
|
||||||
|
|
||||||
QQuickView* view = SailfishApp::createView();
|
QQuickView* view = Aurora::Application::createView();
|
||||||
QQmlContext* root = view->rootContext();
|
QQmlContext* root = view->rootContext();
|
||||||
QQmlEngine* engine = root->engine();
|
QQmlEngine* engine = root->engine();
|
||||||
QSharedPointer<BooksSettings> settings = BooksSettings::sharedInstance();
|
QSharedPointer<BooksSettings> settings = BooksSettings::sharedInstance();
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
Name: harbour-books
|
Name: org.monich.harbour.books
|
||||||
Summary: E-book reader
|
Summary: E-book reader
|
||||||
Version: 1.1.5
|
Version: 1.1.5
|
||||||
Release: 1
|
Release: 1
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
URL: http://github.com/monich/harbour-books
|
URL: https://github.com/sprainbrains/harbour-books/tree/auroraos
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
Requires: sailfishsilica-qt5
|
Requires: sailfishsilica-qt5
|
||||||
Requires: qt5-qtsvg-plugin-imageformat-svg
|
Requires: qt5-qtsvg-plugin-imageformat-svg
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
BuildRequires: pkgconfig(sailfishapp)
|
BuildRequires: pkgconfig(auroraapp)
|
||||||
BuildRequires: pkgconfig(Qt5Quick)
|
BuildRequires: pkgconfig(Qt5Quick)
|
||||||
BuildRequires: pkgconfig(Qt5Core)
|
BuildRequires: pkgconfig(Qt5Core)
|
||||||
BuildRequires: pkgconfig(Qt5Svg)
|
BuildRequires: pkgconfig(Qt5Svg)
|
||||||
|
@ -34,7 +34,7 @@ FBReader-based e-book reader.
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%qtc_qmake5 harbour-books.pro
|
%qtc_qmake5 %{name}.pro
|
||||||
%qtc_make %{?_smp_mflags}
|
%qtc_make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
@ -46,6 +46,14 @@ desktop-file-install --delete-original \
|
||||||
--dir %{buildroot}%{_datadir}/applications \
|
--dir %{buildroot}%{_datadir}/applications \
|
||||||
%{buildroot}%{_datadir}/applications/*.desktop
|
%{buildroot}%{_datadir}/applications/*.desktop
|
||||||
|
|
||||||
|
for size in 86 108 128 172
|
||||||
|
do
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/
|
||||||
|
rsvg-convert --width=$size --height=$size --output \
|
||||||
|
%{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/%{name}.png \
|
||||||
|
%{_sourcedir}/../app/icons/harbour-books.svg
|
||||||
|
done
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make -C test test
|
make -C test test
|
||||||
|
|
Loading…
Reference in a new issue