Skip to content

Commit

Permalink
Removed old duplication functions and bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
filcuc committed Jan 5, 2021
1 parent 984f30e commit f03ede8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 34 deletions.
2 changes: 1 addition & 1 deletion lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ endmacro()
add_target(${PROJECT_NAME} SHARED)
set(major 0)
set(minor 7)
set(patch 0)
set(patch 1)
set_target_properties(${PROJECT_NAME}
PROPERTIES
SOVERSION "${major}.${minor}"
Expand Down
11 changes: 0 additions & 11 deletions lib/include/DOtherSide/DOtherSide.h
Original file line number Diff line number Diff line change
Expand Up @@ -693,17 +693,6 @@ DOS_API void DOS_CALL dos_qobject_signal_emit(DosQObject *vptr,
int parametersCount,
void **parameters);

DOS_API bool DOS_CALL dos_qobject_signal_connect(DosQObject *senderVPtr,
const char *signal,
DosQObject *receiverVPtr,
const char *method,
int type);

DOS_API bool DOS_CALL dos_qobject_signal_disconnect(DosQObject *senderVPtr,
const char *signal,
DosQObject *receiverVPtr,
const char *method);

/// \brief Return the DosQObject objectName
/// \param vptr The DosQObject pointer
/// \return A string in UTF8 format
Expand Down
2 changes: 1 addition & 1 deletion lib/meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
lib_version = '0.7.0'
lib_version = '0.7.1'
lib_dependencies = dependency('qt5', modules : ['Core', 'Gui', 'Widgets', 'Quick', 'Qml'])
lib_sources = [
'src/DOtherSide.cpp',
Expand Down
21 changes: 0 additions & 21 deletions lib/src/DOtherSide.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -526,27 +526,6 @@ void dos_qobject_signal_emit(::DosQObject *vptr, const char *name, int parameter
dynamicQObject->emitSignal(qobject, QString::fromStdString(name), variants);
}

bool dos_qobject_signal_connect(::DosQObject *senderVPtr,
const char *signal,
::DosQObject *receiverVPtr,
const char *method,
int type)
{
auto sender = static_cast<QObject *>(senderVPtr);
auto receiver = static_cast<QObject *>(receiverVPtr);
return QObject::connect(sender, signal, receiver, method, static_cast<Qt::ConnectionType>(type));
}

bool dos_qobject_signal_disconnect(::DosQObject *senderVPtr,
const char *signal,
::DosQObject *receiverVPtr,
const char *method)
{
auto sender = static_cast<QObject *>(senderVPtr);
auto receiver = static_cast<QObject *>(receiverVPtr);
return QObject::disconnect(sender, signal, receiver, method);
}

char *dos_qobject_objectName(const ::DosQObject *vptr)
{
auto object = static_cast<const QObject *>(vptr);
Expand Down

0 comments on commit f03ede8

Please sign in to comment.