Rename common header files for consistency with class renaming

pull/1/head
Timothy Pearson 12 years ago
parent e3ae6c31d6
commit 886e330538

@ -411,7 +411,7 @@ def discoverKDE3 ():
if not opt_kdeincdir: if not opt_kdeincdir:
incSearchPaths = [os.path.join (opt_tdebasedir, "include")] incSearchPaths = [os.path.join (opt_tdebasedir, "include")]
incSearchPaths.append (os.path.join (opt_tdebasedir, "include", "kde")) # Red Hat incSearchPaths.append (os.path.join (opt_tdebasedir, "include", "kde")) # Red Hat
opt_kdeincdir = search ("kapplication.h", incSearchPaths) opt_kdeincdir = search ("tdeapplication.h", incSearchPaths)
def check_kde_installation(): def check_kde_installation():
"""Check the KDE installation and get the version number """Check the KDE installation and get the version number

@ -204,7 +204,7 @@ else:
# this is our KParts::MainWindow derived class # this is our KParts::MainWindow derived class
parts = pyPartsMW (None, "pyParts") parts = pyPartsMW (None, "pyParts")
if len(sys.argv) > 1: if len(sys.argv) > 1:
# read kcmdlineargs.h for the full unabridged instructions # read tdecmdlineargs.h for the full unabridged instructions
# on using TDECmdLineArgs, it's pretty confusing at first, but it works # on using TDECmdLineArgs, it's pretty confusing at first, but it works
# This is pretty useless in this program - you might want to # This is pretty useless in this program - you might want to
# expand this in your app (to load a file, etc) # expand this in your app (to load a file, etc)

@ -62,7 +62,7 @@ retain
module = tdecore module = tdecore
//trace = kapplication.h //trace = tdeapplication.h
source = $SRC/tdecore source = $SRC/tdecore
ignore = netwm_p.h kde_dmalloc.h kunload.h kdatastream.h ksockaddr.h kextsock.h ksocks.h ignore = netwm_p.h kde_dmalloc.h kunload.h kdatastream.h ksockaddr.h kextsock.h ksocks.h

@ -62,7 +62,7 @@ retain
module = tdecore module = tdecore
//trace = kapplication.h //trace = tdeapplication.h
source = $SRC/tdecore source = $SRC/tdecore
ignore = netwm_p.h kde_dmalloc.h kunload.h kdatastream.h ksockaddr.h kextsock.h ksocks.h ignore = netwm_p.h kde_dmalloc.h kunload.h kdatastream.h ksockaddr.h kextsock.h ksocks.h

@ -62,7 +62,7 @@ retain
module = tdecore module = tdecore
//trace = kapplication.h //trace = tdeapplication.h
source = $SRC/tdecore source = $SRC/tdecore
ignore = netwm_p.h kde_dmalloc.h kunload.h kdatastream.h ksockaddr.h kextsock.h ksocks.h ignore = netwm_p.h kde_dmalloc.h kunload.h kdatastream.h ksockaddr.h kextsock.h ksocks.h

@ -62,7 +62,7 @@ retain
module = tdecore module = tdecore
//trace = kapplication.h //trace = tdeapplication.h
source = $SRC/tdecore source = $SRC/tdecore
ignore = netwm_p.h kde_dmalloc.h kunload.h kdatastream.h ksockaddr.h kextsock.h ksocks.h ignore = netwm_p.h kde_dmalloc.h kunload.h kdatastream.h ksockaddr.h kextsock.h ksocks.h

@ -27,7 +27,7 @@
class TDEAboutPerson class TDEAboutPerson
{ {
%TypeHeaderCode %TypeHeaderCode
#include <kaboutdata.h> #include <tdeaboutdata.h>
%End %End
@ -45,7 +45,7 @@ public:
class TDEAboutTranslator class TDEAboutTranslator
{ {
%TypeHeaderCode %TypeHeaderCode
#include <kaboutdata.h> #include <tdeaboutdata.h>
%End %End
@ -60,7 +60,7 @@ public:
class TDEAboutData class TDEAboutData
{ {
%TypeHeaderCode %TypeHeaderCode
#include <kaboutdata.h> #include <tdeaboutdata.h>
%End %End

@ -27,8 +27,8 @@
class TDEApplication : TQApplication, TDEInstance class TDEApplication : TQApplication, TDEInstance
{ {
%TypeHeaderCode %TypeHeaderCode
#include <kapplication.h> #include <tdeapplication.h>
#include <kcmdlineargs.h> #include <tdecmdlineargs.h>
extern char **pyArgvToC(PyObject *argvlist,int *argcp); extern char **pyArgvToC(PyObject *argvlist,int *argcp);
extern void updatePyArgv(PyObject *argvlist,int argc,char **argv); extern void updatePyArgv(PyObject *argvlist,int argc,char **argv);
%End %End
@ -375,7 +375,7 @@ public:
class KSessionManaged class KSessionManaged
{ {
%TypeHeaderCode %TypeHeaderCode
#include <kapplication.h> #include <tdeapplication.h>
%End %End

@ -27,7 +27,7 @@
class TDECmdLineOptions class TDECmdLineOptions
{ {
%TypeHeaderCode %TypeHeaderCode
#include <kcmdlineargs.h> #include <tdecmdlineargs.h>
extern char **pyArgvToC(PyObject *argvlist,int *argcp); extern char **pyArgvToC(PyObject *argvlist,int *argcp);
extern void updatePyArgv(PyObject *argvlist,int argc,char **argv); extern void updatePyArgv(PyObject *argvlist,int argc,char **argv);
%End %End
@ -49,7 +49,7 @@ public:
class TDECmdLineArgs class TDECmdLineArgs
{ {
%TypeHeaderCode %TypeHeaderCode
#include <kcmdlineargs.h> #include <tdecmdlineargs.h>
#include <tqapplication.h> #include <tqapplication.h>
%End %End

@ -32,18 +32,18 @@
%Import dcopmod.sip %Import dcopmod.sip
%Include bytearray.sip %Include bytearray.sip
%Include kaboutdata.sip %Include tdeaboutdata.sip
%Include tdeaccel.sip %Include tdeaccel.sip
%Include tdeaccelaction.sip %Include tdeaccelaction.sip
%Include tdeaccelbase.sip %Include tdeaccelbase.sip
%Include kallocator.sip %Include kallocator.sip
%Include kapplication.sip %Include tdeapplication.sip
%Include kasyncio.sip %Include kasyncio.sip
%Include kaudioplayer.sip %Include kaudioplayer.sip
%Include kbufferedio.sip %Include kbufferedio.sip
%Include kcatalogue.sip %Include kcatalogue.sip
%Include kcharsets.sip %Include kcharsets.sip
%Include kcmdlineargs.sip %Include tdecmdlineargs.sip
%Include kcompletion.sip %Include kcompletion.sip
%Include tdeconfig.sip %Include tdeconfig.sip
%Include tdeconfigbackend.sip %Include tdeconfigbackend.sip

@ -37,5 +37,5 @@
%Include kpixmap.sip %Include kpixmap.sip
%Include kpixmapeffect.sip %Include kpixmapeffect.sip
%Include kpixmapsplitter.sip %Include kpixmapsplitter.sip
%Include kstyle.sip %Include tdestyle.sip
@mark@ @mark@

@ -27,7 +27,7 @@
class TDEStyle : TQCommonStyle class TDEStyle : TQCommonStyle
{ {
%TypeHeaderCode %TypeHeaderCode
#include <kstyle.h> #include <tdestyle.h>
%End %End

@ -27,7 +27,7 @@
class TDEAboutApplication : TDEAboutDialog class TDEAboutApplication : TDEAboutDialog
{ {
%TypeHeaderCode %TypeHeaderCode
#include <kaboutapplication.h> #include <tdeaboutapplication.h>
%End %End

@ -27,7 +27,7 @@
class TDEAboutContainer : TQFrame class TDEAboutContainer : TQFrame
{ {
%TypeHeaderCode %TypeHeaderCode
#include <kaboutdialog.h> #include <tdeaboutdialog.h>
%End %End
@ -53,7 +53,7 @@ signals:
class TDEAboutContributor : TQFrame class TDEAboutContributor : TQFrame
{ {
%TypeHeaderCode %TypeHeaderCode
#include <kaboutdialog.h> #include <tdeaboutdialog.h>
%End %End
@ -86,7 +86,7 @@ signals:
class TDEAboutWidget : TQWidget class TDEAboutWidget : TQWidget
{ {
%TypeHeaderCode %TypeHeaderCode
#include <kaboutdialog.h> #include <tdeaboutdialog.h>
%End %End
@ -116,7 +116,7 @@ protected:
class TDEAboutDialog : KDialogBase class TDEAboutDialog : KDialogBase
{ {
%TypeHeaderCode %TypeHeaderCode
#include <kaboutdialog.h> #include <tdeaboutdialog.h>
%End %End

@ -27,7 +27,7 @@
class TDEAboutKDE : TDEAboutDialog class TDEAboutKDE : TDEAboutDialog
{ {
%TypeHeaderCode %TypeHeaderCode
#include <kaboutkde.h> #include <tdeabouttde.h>
%End %End

@ -34,9 +34,9 @@
%Import tdecoremod.sip %Import tdecoremod.sip
%Import tdefxmod.sip %Import tdefxmod.sip
%Include kaboutapplication.sip %Include tdeaboutapplication.sip
%Include kaboutdialog.sip %Include tdeaboutdialog.sip
%Include kaboutkde.sip %Include tdeabouttde.sip
%Include tdeaction.sip %Include tdeaction.sip
%Include tdeactionshortcutlist.sip %Include tdeactionshortcutlist.sip
%Include kactivelabel.sip %Include kactivelabel.sip

Loading…
Cancel
Save