return exec("NOTIFY " + notification);
}
+bool Database::notifyNewPendingRequest()
+{
+ return notify("new_pending_request");
+}
+
+bool Database::notifyNewPendingMyListUpdate()
+{
+ return notify("new_pending_mylist_update");
+}
+
+bool Database::notifyRenameDataChanged()
+{
+ return notify("rename_data_changed");
+}
+
void Database::handleNotification(const QString ¬ification)
{
qDebug() << "Recieved notification" << notification;
bool exec(const QString &sql);
bool notify(const QString ¬ification);
+ bool notifyNewPendingRequest();
+ bool notifyNewPendingMyListUpdate();
+ bool notifyRenameDataChanged();
public slots:
bool connect();