Skip to content

Commit

Permalink
updated copyright date and company name
Browse files Browse the repository at this point in the history
added Q_ASSERT checks to QObject::connect (signal/slot) mechanism
  • Loading branch information
Adam Sosnowski committed Aug 1, 2013
1 parent bca485c commit 7299a78
Show file tree
Hide file tree
Showing 180 changed files with 519 additions and 341 deletions.
2 changes: 1 addition & 1 deletion SensorDemo/src/Flashlight.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2012 Research In Motion Limited.
/* Copyright (c) 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion accelgame/src/accelerationsensor.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2012 Research In Motion Limited.
* Copyright (c) 2011, 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion accelgame/src/board.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2012 Research In Motion Limited.
* Copyright (c) 2011, 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion accelgame/src/gamecontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ void GameController::setBoard(bb::cascades::Container *board)
m_player->reset();

// Whenever the player has finished its move animation we check for new input
connect(m_player, SIGNAL(moved()), SLOT(evaluateInput()), Qt::QueuedConnection);
bool ok = connect(m_player, SIGNAL(moved()), SLOT(evaluateInput()), Qt::QueuedConnection);
Q_ASSERT(ok);
Q_UNUSED(ok);

// and to kick things off...
evaluateInput();
Expand Down
2 changes: 1 addition & 1 deletion accelgame/src/gamecontroller.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2012 Research In Motion Limited.
* Copyright (c) 2011, 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
5 changes: 3 additions & 2 deletions accelgame/src/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,9 @@ void Player::go(Direction direction)

// Emit the moved() signal when the animation has finished,
// so that the GameController can evaluate the next input
connect(m_currentAnimation, SIGNAL(ended()), SIGNAL(moved()));

bool ok = connect(m_currentAnimation, SIGNAL(ended()), SIGNAL(moved()));
Q_ASSERT(ok);
Q_UNUSED(ok);
// Start the animation
m_currentAnimation->play();

Expand Down
2 changes: 1 addition & 1 deletion accelgame/src/player.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2012 Research In Motion Limited.
* Copyright (c) 2011, 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion accounts/src/AccountEditor.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2012 Research In Motion Limited.
/* Copyright (c) 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion accounts/src/AccountViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ AccountViewer::AccountViewer(AccountService *service, QObject *parent)
m_fields->setParent(this);

// Ensure to invoke the accountsChanged() method whenever an account has been changed
connect(m_accountService, SIGNAL(accountsChanged(bb::pim::account::AccountsChanged)), SLOT(accountsChanged(bb::pim::account::AccountsChanged)));
bool ok = connect(m_accountService, SIGNAL(accountsChanged(bb::pim::account::AccountsChanged)), SLOT(accountsChanged(bb::pim::account::AccountsChanged)));
Q_ASSERT(ok);
Q_UNUSED(ok);
}
//! [0]

Expand Down
2 changes: 1 addition & 1 deletion accounts/src/AccountViewer.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2012 Research In Motion Limited.
/* Copyright (c) 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion accounts/src/Accounts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ Accounts::Accounts(QObject *parent)
m_model->setGrouping(ItemGrouping::None);

// Ensure to invoke the filterAccounts() method whenever an account has been added, changed or removed
connect(m_accountService, SIGNAL(accountsChanged(bb::pim::account::AccountsChanged)), SLOT(filterAccounts()));
bool ok = connect(m_accountService, SIGNAL(accountsChanged(bb::pim::account::AccountsChanged)), SLOT(filterAccounts()));
Q_ASSERT(ok);
Q_UNUSED(ok);

// Fill the data model with accounts initially
filterAccounts();
Expand Down
2 changes: 1 addition & 1 deletion accounts/src/Accounts.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2012 Research In Motion Limited.
/* Copyright (c) 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
9 changes: 6 additions & 3 deletions addressbook/src/AddressBook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,12 @@ AddressBook::AddressBook(QObject *parent)
m_model->setGrouping(ItemGrouping::None);

// Ensure to invoke the filterContacts() method whenever a contact has been added, changed or removed
connect(m_contactService, SIGNAL(contactsAdded(QList<int>)), SLOT(filterContacts()));
connect(m_contactService, SIGNAL(contactsChanged(QList<int>)), SLOT(filterContacts()));
connect(m_contactService, SIGNAL(contactsDeleted(QList<int>)), SLOT(filterContacts()));
bool ok = connect(m_contactService, SIGNAL(contactsAdded(QList<int>)), SLOT(filterContacts()));
Q_ASSERT(ok);
ok = connect(m_contactService, SIGNAL(contactsChanged(QList<int>)), SLOT(filterContacts()));
Q_ASSERT(ok);
ok = connect(m_contactService, SIGNAL(contactsDeleted(QList<int>)), SLOT(filterContacts()));
Q_ASSERT(ok);

// Fill the data model with contacts initially
filterContacts();
Expand Down
2 changes: 1 addition & 1 deletion addressbook/src/AddressBook.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2012 Research In Motion Limited.
/* Copyright (c) 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion addressbook/src/ContactEditor.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2012 Research In Motion Limited.
/* Copyright (c) 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion addressbook/src/ContactViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ ContactViewer::ContactViewer(ContactService *service, QObject *parent)
, m_contactId(-1)
{
// Ensure to invoke the contactsChanged() method whenever a contact has been changed
connect(m_contactService, SIGNAL(contactsChanged(QList<int>)), SLOT(contactsChanged(QList<int>)));
bool ok = connect(m_contactService, SIGNAL(contactsChanged(QList<int>)), SLOT(contactsChanged(QList<int>)));
Q_ASSERT(ok);
Q_UNUSED(ok);
}
//! [0]

Expand Down
2 changes: 1 addition & 1 deletion addressbook/src/ContactViewer.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2012 Research In Motion Limited.
/* Copyright (c) 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion bbmcontacts/src/Contact.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2013 Research In Motion Limited.
/* Copyright (c) 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 2 additions & 0 deletions bbmcontacts/src/ContactsDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ void ContactsDisplay::updateModel() {
, const bb::platform::bbm::ImageType::Type
, const QByteArray&)));
Q_ASSERT(ok);
Q_UNUSED(ok);
m_contactService->requestDisplayPicture(bbm_contact->handle());
}
}
Expand All @@ -118,6 +119,7 @@ void ContactsDisplay::contactUpdated(const QString& handle) {
, const bb::platform::bbm::ImageType::Type
, const QByteArray&)));
Q_ASSERT(ok);
Q_UNUSED(ok);
m_contactService->requestDisplayPicture(new_contact->handle());
m_contactsDataModel->replace(i, new_contact);
}
Expand Down
2 changes: 1 addition & 1 deletion bbmcontacts/src/ContactsDisplay.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2013 Research In Motion Limited.
/* Copyright (c) 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion bbmcontacts/src/RegistrationHandler.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2013 Research In Motion Limited.
/* Copyright (c) 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion bbmcontacts/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ Q_DECL_EXPORT int main(int argc, char **argv)
ContactsDisplay *contactsDisplay = new ContactsDisplay(registrationHandler->context(), &app);

// Whenever the registration has finished successfully, we continue to the main UI
QObject::connect(registrationHandler, SIGNAL(registered()), contactsDisplay, SLOT(show()));
bool ok = QObject::connect(registrationHandler, SIGNAL(registered()), contactsDisplay, SLOT(show()));
Q_ASSERT(ok);
Q_UNUSED(ok);
//! [0]

return Application::exec();
Expand Down
2 changes: 1 addition & 1 deletion bbminvitetodownload/src/InviteToDownload.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2012 Research In Motion Limited.
/* Copyright (c) 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
17 changes: 10 additions & 7 deletions bbminvitetodownload/src/RegistrationHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,23 @@ RegistrationHandler::RegistrationHandler(const QUuid &uuid, QObject *parent)
qml->setContextProperty("_registrationHandler", this);
AbstractPane *root = qml->createRootObject<AbstractPane>();
Application::instance()->setScene(root);
book ok = false;
if (uuid.isNull()) {
SystemDialog *uuidDialog = new SystemDialog("OK");
uuidDialog->setTitle("UUID Error");
uuidDialog->setBody("Invalid/Empty UUID, please set correctly in main.cpp");
connect(uuidDialog, SIGNAL(finished(bb::system::SystemUiResult::Type)), this, SLOT(dialogFinished(bb::system::SystemUiResult::Type)));
ok = connect(uuidDialog, SIGNAL(finished(bb::system::SystemUiResult::Type)), this, SLOT(dialogFinished(bb::system::SystemUiResult::Type)));
Q_ASSERT(ok);
uuidDialog->show();
return;
}
connect(&m_context,
SIGNAL(registrationStateUpdated(
bb::platform::bbm::RegistrationState::Type)),
this,
SLOT(processRegistrationStatus(
bb::platform::bbm::RegistrationState::Type)));
ok = connect(&m_context,
SIGNAL(registrationStateUpdated(
bb::platform::bbm::RegistrationState::Type)),
this,
SLOT(processRegistrationStatus(
bb::platform::bbm::RegistrationState::Type)));
Q_ASSERT(ok);
}

void RegistrationHandler::registerApplication()
Expand Down
2 changes: 1 addition & 1 deletion bbminvitetodownload/src/RegistrationHandler.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2012 Research In Motion Limited.
/* Copyright (c) 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion bbminvitetodownload/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ Q_DECL_EXPORT int main(int argc, char **argv)

InviteToDownload *inviteToDownload = new InviteToDownload(registrationHandler->context(), &app);

QObject::connect(registrationHandler, SIGNAL(registered()), inviteToDownload, SLOT(show()));
bool ok = QObject::connect(registrationHandler, SIGNAL(registered()), inviteToDownload, SLOT(show()));
Q_ASSERT(ok);
Q_UNUSED(ok);

return Application::exec();
}
20 changes: 12 additions & 8 deletions bbmprofile/src/Profile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,18 @@ void Profile::show()
m_profileEditor = new ProfileEditor(m_userProfile, this);

// Make sure the UI is updated whenever the profile changes
connect(m_userProfile, SIGNAL(displayNameUpdated(QString)),
this, SIGNAL(profileChanged()));
connect(m_userProfile, SIGNAL(personalMessageUpdated(QString)),
this, SIGNAL(profileChanged()));
connect(m_userProfile, SIGNAL(statusUpdated(bb::platform::bbm::UserStatus::Type, QString)),
this, SIGNAL(profileChanged()));
connect(m_userProfile, SIGNAL(displayPictureUpdated(bb::platform::bbm::ImageType::Type, QByteArray)),
this, SIGNAL(profileChanged()));
bool ok = connect(m_userProfile, SIGNAL(displayNameUpdated(QString)),
this, SIGNAL(profileChanged()));
Q_ASSERT(ok);
ok = connect(m_userProfile, SIGNAL(personalMessageUpdated(QString)),
this, SIGNAL(profileChanged()));
Q_ASSERT(ok);
ok = connect(m_userProfile, SIGNAL(statusUpdated(bb::platform::bbm::UserStatus::Type, QString)),
this, SIGNAL(profileChanged()));
Q_ASSERT(ok);
ok = connect(m_userProfile, SIGNAL(displayPictureUpdated(bb::platform::bbm::ImageType::Type, QByteArray)),
this, SIGNAL(profileChanged()));
Q_ASSERT(ok);

// Create the UI
QmlDocument* qml = QmlDocument::create("asset:///profile.qml").parent(this);
Expand Down
2 changes: 1 addition & 1 deletion bbmprofile/src/Profile.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2012 Research In Motion Limited.
/* Copyright (c) 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion bbmprofile/src/ProfileEditor.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2012 Research In Motion Limited.
/* Copyright (c) 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
17 changes: 10 additions & 7 deletions bbmprofile/src/RegistrationHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,23 @@ RegistrationHandler::RegistrationHandler(const QUuid &uuid, QObject *parent)
qml->setContextProperty("_registrationHandler", this);
AbstractPane *root = qml->createRootObject<AbstractPane>();
Application::instance()->setScene(root);
bool ok = false;
if (uuid.isNull()) {
SystemDialog *uuidDialog = new SystemDialog("OK");
uuidDialog->setTitle("UUID Error");
uuidDialog->setBody("Invalid/Empty UUID, please set correctly in main.cpp");
connect(uuidDialog, SIGNAL(finished(bb::system::SystemUiResult::Type)), this, SLOT(dialogFinished(bb::system::SystemUiResult::Type)));
ok = connect(uuidDialog, SIGNAL(finished(bb::system::SystemUiResult::Type)), this, SLOT(dialogFinished(bb::system::SystemUiResult::Type)));
Q_ASSERT(ok);
uuidDialog->show();
return;
}
connect(&m_context,
SIGNAL(registrationStateUpdated(
bb::platform::bbm::RegistrationState::Type)),
this,
SLOT(processRegistrationStatus(
bb::platform::bbm::RegistrationState::Type)));
ok = connect(&m_context,
SIGNAL(registrationStateUpdated(
bb::platform::bbm::RegistrationState::Type)),
this,
SLOT(processRegistrationStatus(
bb::platform::bbm::RegistrationState::Type)));
Q_ASSERT(ok);
}

void RegistrationHandler::registerApplication()
Expand Down
2 changes: 1 addition & 1 deletion bbmprofile/src/RegistrationHandler.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2012 Research In Motion Limited.
/* Copyright (c) 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion bbmprofile/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ Q_DECL_EXPORT int main(int argc, char **argv)

Profile *profile = new Profile(registrationHandler->context(), &app);

QObject::connect(registrationHandler, SIGNAL(registered()), profile, SLOT(show()));
bool ok = QObject::connect(registrationHandler, SIGNAL(registered()), profile, SLOT(show()));
Q_ASSERT(ok);
Q_UNUSED(ok);
//! [0]

return Application::exec();
Expand Down
11 changes: 7 additions & 4 deletions bbmprofilebox/src/ProfileBoxManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,13 @@ void ProfileBoxManager::loadProfileBoxes()
m_profileBox = new bb::platform::bbm::ProfileBox(m_context, this);

// Connect all signals to get informed about updates to the profile box
connect(m_profileBox, SIGNAL(itemAdded(QString)), this, SLOT(itemAdded(QString)));
connect(m_profileBox, SIGNAL(itemRemoved(QString)), this, SLOT(itemRemoved(QString)));
connect(m_profileBox, SIGNAL(iconRetrieved(int, bb::platform::bbm::ImageType::Type, QByteArray)),
this, SLOT(iconRetrieved(int, bb::platform::bbm::ImageType::Type, QByteArray)));
bool ok = connect(m_profileBox, SIGNAL(itemAdded(QString)), this, SLOT(itemAdded(QString)));
Q_ASSERT(ok);
ok = connect(m_profileBox, SIGNAL(itemRemoved(QString)), this, SLOT(itemRemoved(QString)));
Q_ASSERT(ok);
ok = connect(m_profileBox, SIGNAL(iconRetrieved(int, bb::platform::bbm::ImageType::Type, QByteArray)),
this, SLOT(iconRetrieved(int, bb::platform::bbm::ImageType::Type, QByteArray)));
Q_ASSERT(ok);

registerIcons();

Expand Down
2 changes: 1 addition & 1 deletion bbmprofilebox/src/ProfileBoxManager.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2012 Research In Motion Limited.
/* Copyright (c) 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
17 changes: 10 additions & 7 deletions bbmprofilebox/src/RegistrationHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,23 @@ RegistrationHandler::RegistrationHandler(const QUuid &uuid, QObject *parent)
qml->setContextProperty("_registrationHandler", this);
AbstractPane *root = qml->createRootObject<AbstractPane>();
Application::instance()->setScene(root);
bool ok = false;
if (uuid.isNull()) {
SystemDialog *uuidDialog = new SystemDialog("OK");
uuidDialog->setTitle("UUID Error");
uuidDialog->setBody("Invalid/Empty UUID, please set correctly in main.cpp");
connect(uuidDialog, SIGNAL(finished(bb::system::SystemUiResult::Type)), this, SLOT(dialogFinished(bb::system::SystemUiResult::Type)));
ok = connect(uuidDialog, SIGNAL(finished(bb::system::SystemUiResult::Type)), this, SLOT(dialogFinished(bb::system::SystemUiResult::Type)));
Q_ASSERT(ok);
uuidDialog->show();
return;
}
connect(&m_context,
SIGNAL(registrationStateUpdated(
bb::platform::bbm::RegistrationState::Type)),
this,
SLOT(processRegistrationStatus(
bb::platform::bbm::RegistrationState::Type)));
ok = connect(&m_context,
SIGNAL(registrationStateUpdated(
bb::platform::bbm::RegistrationState::Type)),
this,
SLOT(processRegistrationStatus(
bb::platform::bbm::RegistrationState::Type)));
Q_ASSERT(ok);
}

void RegistrationHandler::registerApplication()
Expand Down
2 changes: 1 addition & 1 deletion bbmprofilebox/src/RegistrationHandler.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2012 Research In Motion Limited.
/* Copyright (c) 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion bbmprofilebox/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ int main(int argc, char **argv)
ProfileBoxManager *profileBoxManager = new ProfileBoxManager(registrationHandler->context(), &app);

// Whenever the registration has finished successfully, we continue to the main UI
QObject::connect(registrationHandler, SIGNAL(registered()), profileBoxManager, SLOT(show()));
bool ok = QObject::connect(registrationHandler, SIGNAL(registered()), profileBoxManager, SLOT(show()));
Q_ASSERT(ok);
Q_UNUSED(ok);
//! [0]

return Application::exec();
Expand Down
Loading

0 comments on commit 7299a78

Please sign in to comment.