To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=60062





------- Additional comments from [EMAIL PROTECTED] Thu Jan  5 07:33:51 -0800 
2006 -------
OK, here is the signature that was allowed at KDE 3.1.4 time:    
    
  static void init(int _argc, char **_argv,    
                   const char *_appname, const char *_description,    
                   const char *_version, bool noKApp = false);    
   
(there were other signatures allowed, but I do not mention them here for the   
sake of conciseness).   
   
Starting with KDE 3.2, the one that interests us has become   
   
   static void init(int _argc, char **_argv, const char *_appname,   
                    const char* programName, const char *_description,   
                    const char *_version, bool noKApp = false);   
   
i.e. the name of the program, as used on the command line, has been added.   
 
We could do tricky things and adapt the call to the underlying KDE version.   
But since we already check at configure time that KDE is >= 3.2, I propose we   
just do the same test at run time.   
   
To perform the test, we can do something like   
   
#include <kdeversion.h>   
   
 if (::KDE::versionMajor() < 3 || 
     ::KDE::versionMajor() == 3 && ::KDE::versionMinor() < 2) 
       // then exit somehow... 
 
Note : versionMajor() and versionMinor() exist since KDE 3.1, which has been 
released in January 2003. 
 

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to