X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Fdialogfactory.cpp;h=47f814db4f2849815a048560c296e25e101a7fcf;hb=2ee84c5948ede7fc2f7b4435c5edef42a030ac05;hp=5fca3cbc0e87519a2cb445a4109784c89789b63c;hpb=3239ef39dcee08fa6e8cd68cdf2727fc68cc7a8c;p=architektonas diff --git a/src/base/dialogfactory.cpp b/src/base/dialogfactory.cpp index 5fca3cb..47f814d 100644 --- a/src/base/dialogfactory.cpp +++ b/src/base/dialogfactory.cpp @@ -18,33 +18,33 @@ #include "debug.h" -RS_DialogFactory * RS_DialogFactory::uniqueInstance = NULL; +DialogFactory * DialogFactory::uniqueInstance = NULL; /** * Private constructor. */ -RS_DialogFactory::RS_DialogFactory() +DialogFactory::DialogFactory() { - RS_DEBUG->print("RS_DialogFacgory::RS_DialogFactory"); + DEBUG->print("DialogFacgory::DialogFactory"); factoryObject = NULL; - RS_DEBUG->print("RS_DialogFacgory::RS_DialogFactory: OK"); + DEBUG->print("DialogFacgory::DialogFactory: OK"); } -/*virtual*/ RS_DialogFactory::~RS_DialogFactory() +/*virtual*/ DialogFactory::~DialogFactory() { } /** * @return Instance to the unique font list. */ -RS_DialogFactory * RS_DialogFactory::instance() +DialogFactory * DialogFactory::instance() { - RS_DEBUG->print("RS_DialogFactory::instance()"); + DEBUG->print("DialogFactory::instance()"); if (uniqueInstance == NULL) - uniqueInstance = new RS_DialogFactory(); + uniqueInstance = new DialogFactory(); - RS_DEBUG->print("RS_DialogFactory::instance(): OK"); + DEBUG->print("DialogFactory::instance(): OK"); return uniqueInstance; } @@ -52,36 +52,36 @@ RS_DialogFactory * RS_DialogFactory::instance() /** * Sets the real factory object that can create and show dialogs. */ -void RS_DialogFactory::setFactoryObject(RS_DialogFactoryInterface * fo) +void DialogFactory::setFactoryObject(DialogFactoryInterface * fo) { - RS_DEBUG->print("RS_DialogFactory::setFactoryObject"); + DEBUG->print("DialogFactory::setFactoryObject"); factoryObject = fo; - RS_DEBUG->print("RS_DialogFactory::setFactoryObject: OK"); + DEBUG->print("DialogFactory::setFactoryObject: OK"); } /** * @return Factory object. This is never NULL. If no factory * object was set, the default adapter will be returned. */ -RS_DialogFactoryInterface * RS_DialogFactory::getFactoryObject() +DialogFactoryInterface * DialogFactory::getFactoryObject() { - RS_DEBUG->print("RS_DialogFactory::getFactoryObject"); + DEBUG->print("DialogFactory::getFactoryObject"); if (factoryObject != NULL) { - RS_DEBUG->print("RS_DialogFactory::getFactoryObject: returning factory object"); + DEBUG->print("DialogFactory::getFactoryObject: returning factory object"); return factoryObject; } else { - RS_DEBUG->print("RS_DialogFactory::getFactoryObject: returning adapter"); + DEBUG->print("DialogFactory::getFactoryObject: returning adapter"); return &factoryAdapter; } } -void RS_DialogFactory::commandMessage(const QString & m) +void DialogFactory::commandMessage(const QString & m) { - RS_DEBUG->print("RS_DialogFactory::commandMessage"); + DEBUG->print("DialogFactory::commandMessage"); if (factoryObject != NULL) factoryObject->commandMessage(m);