diff options
author | Timothy Pearson <[email protected]> | 2013-02-06 19:42:34 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-06 19:42:34 -0600 |
commit | b3f48c5f7f807147c4d0338137b9a77525aeaefb (patch) | |
tree | e5451a754812b9d70b728394c84e84aefed1c00a /sip/tdecore/kcmdlineargs.sip | |
parent | d152eb8cb5d1428596acf9dcb21c7aeb3bc56ec9 (diff) | |
download | pytde-b3f48c5f7f807147c4d0338137b9a77525aeaefb.tar.gz pytde-b3f48c5f7f807147c4d0338137b9a77525aeaefb.zip |
Rename KCmd to avoid conflicts with KDE4
Diffstat (limited to 'sip/tdecore/kcmdlineargs.sip')
-rw-r--r-- | sip/tdecore/kcmdlineargs.sip | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sip/tdecore/kcmdlineargs.sip b/sip/tdecore/kcmdlineargs.sip index f716f68..7f6226d 100644 --- a/sip/tdecore/kcmdlineargs.sip +++ b/sip/tdecore/kcmdlineargs.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KCmdLineOptions +class TDECmdLineOptions { %TypeHeaderCode #include <kcmdlineargs.h> @@ -43,7 +43,7 @@ public: %End -}; // class KCmdLineOptions +}; // class TDECmdLineOptions class TDECmdLineArgs @@ -132,13 +132,13 @@ public: %End static void init (const TDEAboutData*); - static void addCmdLineOptions (SIP_PYLIST, const char* = 0, const char* = 0, const char* = 0) [void (const KCmdLineOptions*, const char* = 0, const char* = 0, const char* = 0)]; + static void addCmdLineOptions (SIP_PYLIST, const char* = 0, const char* = 0, const char* = 0) [void (const TDECmdLineOptions*, const char* = 0, const char* = 0, const char* = 0)]; %MethodCode //takes options | (a Python list of tuples) | name | (char = 0) | id | (char = 0) | afterId | (char = 0) //doc // A Pytbon list of tuples (name, description, default) is the first parameter -// instead of a KCmdLineOptions object (KCmdLineOptions is not used); +// instead of a TDECmdLineOptions object (TDECmdLineOptions is not used); // NULL (or None) parameters to mark the end of the list are not required //end @@ -148,10 +148,10 @@ public: return NULL; // opts is persistent - KCmdLineOptions *opts; + TDECmdLineOptions *opts; Py_BEGIN_ALLOW_THREADS - opts = new KCmdLineOptions [n + 1]; + opts = new TDECmdLineOptions [n + 1]; Py_END_ALLOW_THREADS int i, tsz; @@ -250,7 +250,7 @@ errorExit: protected: - TDECmdLineArgs (const KCmdLineOptions*, const char*, const char*); + TDECmdLineArgs (const TDECmdLineOptions*, const char*, const char*); ~TDECmdLineArgs (); public: |