19 #include "ctkXnatLoginProfile.h"
24 void XnatSessionTracker::SessionOpened()
26 ctkXnatSession *session =
dynamic_cast<ctkXnatSession *
>(QObject::sender());
30 void XnatSessionTracker::SessionAboutToBeClosed()
32 ctkXnatSession *session =
dynamic_cast<ctkXnatSession *
>(QObject::sender());
36 ctkXnatSession *XnatSessionTracker::AddingService(
const ServiceReferenceType &reference)
39 if (session->isOpen())
43 connect(session, SIGNAL(sessionOpened()),
this, SLOT(SessionOpened()));
44 connect(session, SIGNAL(sessionAboutToBeClosed()),
this, SLOT(SessionAboutToBeClosed()));
49 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)
T AddingService(const ServiceReferenceType &reference)
XnatSessionTracker(us::ModuleContext *context)
void AboutToBeClosed(ctkXnatSession *)