]> Shamusworld >> Repos - architektonas/blobdiff - src/base/dialogfactory.cpp
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / base / dialogfactory.cpp
index 5fca3cbc0e87519a2cb445a4109784c89789b63c..47f814db4f2849815a048560c296e25e101a7fcf 100644 (file)
 
 #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);