15 #include "ctkXnatLoginProfile.h" 20 void XnatSessionTracker::SessionOpened()
22 ctkXnatSession *session =
dynamic_cast<ctkXnatSession *
>(QObject::sender());
26 void XnatSessionTracker::SessionAboutToBeClosed()
28 ctkXnatSession *session =
dynamic_cast<ctkXnatSession *
>(QObject::sender());
35 if (session->isOpen())
39 connect(session, SIGNAL(sessionOpened()),
this, SLOT(SessionOpened()));
40 connect(session, SIGNAL(sessionAboutToBeClosed()),
this, SLOT(SessionAboutToBeClosed()));
45 void XnatSessionTracker::RemovedService(
const ServiceReferenceType &reference, ctkXnatSession *tracked)
void Opened(ctkXnatSession *)
DataCollection - Class to facilitate loading/accessing structured data.
void RemovedService(const ServiceReferenceType &reference, T service) override
XnatSessionTracker(us::ModuleContext *context)
void AboutToBeClosed(ctkXnatSession *)
T AddingService(const ServiceReferenceType &reference) override