SF.net SVN: fclient:[780] trunk/fclient/src/fclient
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-07-27 12:02:33
|
Revision: 780
http://fclient.svn.sourceforge.net/fclient/?rev=780&view=rev
Author: jUrner
Date: 2008-07-27 12:02:42 +0000 (Sun, 27 Jul 2008)
Log Message:
-----------
new package structure
Modified Paths:
--------------
trunk/fclient/src/fclient/impl/config.py
Added Paths:
-----------
trunk/fclient/src/fclient/doc/
trunk/fclient/src/fclient/downloads/
trunk/fclient/src/fclient/settings/
Modified: trunk/fclient/src/fclient/impl/config.py
===================================================================
--- trunk/fclient/src/fclient/impl/config.py 2008-07-27 11:51:54 UTC (rev 779)
+++ trunk/fclient/src/fclient/impl/config.py 2008-07-27 12:02:42 UTC (rev 780)
@@ -22,14 +22,15 @@
FclientHomepage = 'http://fclient.sourceforge.net/'
FclientConnectionName = QtCore.QString(FclientAppName + ':{08625b10-2b44-4689-b1bf-8baf208b9641}')
-_ = os.path.dirname(os.path.abspath(__file__))
-FclientDir = QtCore.QString(_)
-FclientDocDir = QtCore.QString(os.path.join(_, 'doc'))
-FclientDownloadDir = QtCore.QString(os.path.join(_, 'downloads'))
-FclientResDir = QtCore.QString(os.path.join(_, 'res'))
-FclientSettingsDir = QtCore.QString(os.path.join(_, 'settings'))
-del _
-
+_implDir = os.path.dirname(os.path.abspath(__file__))
+_fclientDir = os.path.dirname(_implDir)
+FclientImplDir = QtCore.QString(_implDir)
+FclientDir = QtCore.QString(_fclientDir)
+FclientDocDir = QtCore.QString(os.path.join(_fclientDir, 'doc'))
+FclientDownloadDir = QtCore.QString(os.path.join(_fclientDir, 'downloads'))
+FclientResDir = QtCore.QString(os.path.join(_implDir, 'res'))
+FclientSettingsDir = QtCore.QString(os.path.join(_fclientDir, 'settings'))
+del _implDir, _fclientDir
#**********************************************************************************
# looks like QObject.findChild() does not always work. docs mention troubles
# with MSVC 6 where you should use qFindChild(). can not test this. so keep
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|