diff options
-rwxr-xr-x | displayconfig/displayconfig.py | 2 | ||||
-rw-r--r-- | grubconfig/grubconfig.py | 2 | ||||
-rw-r--r-- | mountconfig/fuser.py | 10 | ||||
-rwxr-xr-x | mountconfig/mountconfig.py | 2 | ||||
-rwxr-xr-x | powermanager/guidance-power-manager.py | 2 | ||||
-rw-r--r-- | powermanager/guidance_power_manager_ui.py | 4 | ||||
-rw-r--r-- | powermanager/notify.py | 4 | ||||
-rw-r--r-- | powermanager/tooltip.py | 4 | ||||
-rwxr-xr-x | serviceconfig/serviceconfig.py | 2 | ||||
-rwxr-xr-x | userconfig/userconfig.py | 2 | ||||
-rwxr-xr-x | wineconfig/wineconfig.py | 6 |
11 files changed, 20 insertions, 20 deletions
diff --git a/displayconfig/displayconfig.py b/displayconfig/displayconfig.py index e7ed624..f1de404 100755 --- a/displayconfig/displayconfig.py +++ b/displayconfig/displayconfig.py @@ -1748,7 +1748,7 @@ def MakeAboutData(): if standalone: aboutdata = MakeAboutData() - KCmdLineArgs.init(sys.argv,aboutdata) + TDECmdLineArgs.init(sys.argv,aboutdata) kapp = TDEApplication() diff --git a/grubconfig/grubconfig.py b/grubconfig/grubconfig.py index cf0859d..3fccfbd 100644 --- a/grubconfig/grubconfig.py +++ b/grubconfig/grubconfig.py @@ -690,7 +690,7 @@ def MakeAboutData(): if standalone: aboutdata = MakeAboutData() - KCmdLineArgs.init(sys.argv,aboutdata) + TDECmdLineArgs.init(sys.argv,aboutdata) kapp = TDEApplication() grubconfigapp = GrubConfigAppClass() diff --git a/mountconfig/fuser.py b/mountconfig/fuser.py index 9bc54c9..4a10ca9 100644 --- a/mountconfig/fuser.py +++ b/mountconfig/fuser.py @@ -17,7 +17,7 @@ """ TODO: - Fix running standalone: - * KCmdLineArgs stuff. + * TDECmdLineArgs stuff. """ import sys @@ -278,14 +278,14 @@ if standalone: device = "/dev/hda1" print 'Device is ', device - cmd_args = KCmdLineArgs.init(sys.argv, "FUser", + cmd_args = TDECmdLineArgs.init(sys.argv, "FUser", "A graphical frontend to fuser, but without using it :-)", "0.2") # ---------------------------------------------------------------------------- - # FIXME: All the arg-parsing stuff does not work yet since I don't understand KCmdLineArgs. + # FIXME: All the arg-parsing stuff does not work yet since I don't understand TDECmdLineArgs. options = [("device <device>", "Device to umount")] - KCmdLineArgs.addCmdLineOptions(options) - args = KCmdLineArgs.parsedArgs() + TDECmdLineArgs.addCmdLineOptions(options) + args = TDECmdLineArgs.parsedArgs() # print args.count() # ---------------------------------------------------------------------------- diff --git a/mountconfig/mountconfig.py b/mountconfig/mountconfig.py index 67c5fed..7f120d7 100755 --- a/mountconfig/mountconfig.py +++ b/mountconfig/mountconfig.py @@ -3295,7 +3295,7 @@ def MakeAboutData(): if standalone: aboutdata = MakeAboutData() - KCmdLineArgs.init(sys.argv,aboutdata) + TDECmdLineArgs.init(sys.argv,aboutdata) microhal = MicroHAL.MicroHAL() kapp = TDEApplication() diff --git a/powermanager/guidance-power-manager.py b/powermanager/guidance-power-manager.py index 480a856..765796b 100755 --- a/powermanager/guidance-power-manager.py +++ b/powermanager/guidance-power-manager.py @@ -1114,7 +1114,7 @@ if __name__ == "__main__": aboutdata.addAuthor("Jonathan Riddell", "Developer", "[email protected]") aboutdata.addAuthor("Luka Renko", "Developer", "[email protected]") aboutdata.setProgramLogo(QImage("power-manager.png")) - KCmdLineArgs.init(sys.argv, aboutdata) + TDECmdLineArgs.init(sys.argv, aboutdata) #kapp = KUniqueApplication(True, True, False) #kapp = TDEApplication() kapp = PMApp(True, True) diff --git a/powermanager/guidance_power_manager_ui.py b/powermanager/guidance_power_manager_ui.py index dcaf270..0edf566 100644 --- a/powermanager/guidance_power_manager_ui.py +++ b/powermanager/guidance_power_manager_ui.py @@ -10,7 +10,7 @@ import sys from qt import * -from tdecore import KCmdLineArgs, TDEApplication +from tdecore import TDECmdLineArgs, TDEApplication from tdecore import i18n from tdeui import * @@ -231,7 +231,7 @@ if __name__ == "__main__": description = "" version = "" - KCmdLineArgs.init (sys.argv, appname, description, version) + TDECmdLineArgs.init (sys.argv, appname, description, version) a = TDEApplication () QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()")) diff --git a/powermanager/notify.py b/powermanager/notify.py index 52e6eb2..30b55b2 100644 --- a/powermanager/notify.py +++ b/powermanager/notify.py @@ -10,7 +10,7 @@ import sys from qt import * -from tdecore import KCmdLineArgs, TDEApplication +from tdecore import TDECmdLineArgs, TDEApplication from tdecore import i18n from tdeui import * @@ -58,7 +58,7 @@ if __name__ == "__main__": description = "" version = "" - KCmdLineArgs.init (sys.argv, appname, description, version) + TDECmdLineArgs.init (sys.argv, appname, description, version) a = TDEApplication () QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()")) diff --git a/powermanager/tooltip.py b/powermanager/tooltip.py index 6de4814..2dea7ac 100644 --- a/powermanager/tooltip.py +++ b/powermanager/tooltip.py @@ -10,7 +10,7 @@ import sys from qt import * -from tdecore import KCmdLineArgs, TDEApplication +from tdecore import TDECmdLineArgs, TDEApplication from tdecore import i18n from tdeui import * @@ -47,7 +47,7 @@ if __name__ == "__main__": description = "" version = "" - KCmdLineArgs.init (sys.argv, appname, description, version) + TDECmdLineArgs.init (sys.argv, appname, description, version) a = TDEApplication () QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()")) diff --git a/serviceconfig/serviceconfig.py b/serviceconfig/serviceconfig.py index 70e958b..fd2657a 100755 --- a/serviceconfig/serviceconfig.py +++ b/serviceconfig/serviceconfig.py @@ -1474,7 +1474,7 @@ def MakeAboutData(): if standalone: aboutdata = MakeAboutData() - KCmdLineArgs.init(sys.argv,aboutdata) + TDECmdLineArgs.init(sys.argv,aboutdata) kapp = TDEApplication() sysvapp = SysVInitApp() diff --git a/userconfig/userconfig.py b/userconfig/userconfig.py index 053a681..cf1456f 100755 --- a/userconfig/userconfig.py +++ b/userconfig/userconfig.py @@ -1746,7 +1746,7 @@ def MakeAboutData(): if standalone: aboutdata = MakeAboutData() - KCmdLineArgs.init(sys.argv,aboutdata) + TDECmdLineArgs.init(sys.argv,aboutdata) kapp = TDEApplication() userconfigapp = UserConfigApp() diff --git a/wineconfig/wineconfig.py b/wineconfig/wineconfig.py index c766f7d..ec2c3e9 100755 --- a/wineconfig/wineconfig.py +++ b/wineconfig/wineconfig.py @@ -69,7 +69,7 @@ class WineConfigApp(programbase): KDialogBase.Apply|KDialogBase.User1|KDialogBase.User2|KDialogBase.Close, KDialogBase.Close) self.setButtonText(KDialogBase.User1,i18n("Reset")) self.setButtonText(KDialogBase.User2,i18n("About")) - args = KCmdLineArgs.parsedArgs() + args = TDECmdLineArgs.parsedArgs() if args.count() > 0: application = args.arg(0) else: @@ -3540,11 +3540,11 @@ def MakeAboutData(): if standalone: aboutdata = MakeAboutData() - KCmdLineArgs.init(sys.argv,aboutdata) + TDECmdLineArgs.init(sys.argv,aboutdata) # Can't do i18n? options = [("+[appname]", str(i18n("Application to change settings for")))] - KCmdLineArgs.addCmdLineOptions( options ) + TDECmdLineArgs.addCmdLineOptions( options ) kapp = TDEApplication() |