]> Some of my projects - localmylist.git/commitdiff
Move organizationName and libraryName to MyList
authorAPTX <redacted>
Sat, 2 Jun 2012 13:24:56 +0000 (15:24 +0200)
committerAPTX <redacted>
Sat, 2 Jun 2012 13:24:56 +0000 (15:24 +0200)
localmylist/localmylist_global.h
localmylist/mylist.cpp
localmylist/mylist.h

index 4f5754a..1f5953a 100644 (file)
@@ -9,7 +9,4 @@
 #  define LOCALMYLISTSHARED_EXPORT Q_DECL_IMPORT
 #endif
 
-static const char *organizationName = "APTX";
-static const char *libraryName = "localmylist";
-
 #endif // LOCALMYLIST_GLOBAL_H
index 27fb181..ff1576b 100644 (file)
@@ -212,4 +212,7 @@ MyList *instance()
        return MyList::instance();
 }
 
+const char *MyList::organizationName = "APTX";
+const char *MyList::libraryName = "localmylist";
+
 } // namespace LocalMyList
index bff9fc5..b426a7b 100644 (file)
@@ -70,6 +70,8 @@ public:
        static MyList *instance();
        static bool REGISTER_QT_TYPES;
 
+       static const char *organizationName;
+       static const char *libraryName;
 private:
        static void init();
        static MyList *m_instance;