diff options
Diffstat (limited to 'userconfig/userconfig.py')
-rwxr-xr-x | userconfig/userconfig.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/userconfig/userconfig.py b/userconfig/userconfig.py index dace835..d2f04e2 100755 --- a/userconfig/userconfig.py +++ b/userconfig/userconfig.py @@ -57,7 +57,7 @@ else: class UserConfigApp(programbase): def __init__(self,parent=None,name=None): global standalone,isroot - KGlobal.locale().insertCatalogue("guidance") + TDEGlobal.locale().insertCatalogue("guidance") if standalone: KDialogBase.__init__(self,KJanusWidget.Tabbed,i18n("User Accounts and Groups"), @@ -76,7 +76,7 @@ class UserConfigApp(programbase): # Create a configuration object. self.config = KConfig("userconfigrc") - KGlobal.iconLoader().addAppDir("guidance") + TDEGlobal.iconLoader().addAppDir("guidance") self.usersToListItems = None self.selecteduserid = None @@ -1093,7 +1093,7 @@ class UserEditDialog(KDialogBase): if self.userobj.getLastPasswordChange() in (None,0): self.lastchangelabel.setText('-'); else: - self.lastchangelabel.setText(KGlobal.locale().formatDate(SptimeToQDate(int(self.userobj.getLastPasswordChange())))) + self.lastchangelabel.setText(TDEGlobal.locale().formatDate(SptimeToQDate(int(self.userobj.getLastPasswordChange())))) ######################################################################## def __updateObjectFromGUI(self,userobj): @@ -1371,7 +1371,7 @@ class UserDeleteDialog(KDialog): toplayout.setStretchFactor(contentbox,1) label = QLabel(contentbox) - label.setPixmap(KGlobal.iconLoader().loadIcon("messagebox_warning", KIcon.NoGroup, KIcon.SizeMedium, + label.setPixmap(TDEGlobal.iconLoader().loadIcon("messagebox_warning", KIcon.NoGroup, KIcon.SizeMedium, KIcon.DefaultState, None, True)) contentbox.setStretchFactor(label,0) @@ -1460,7 +1460,7 @@ class OverwriteHomeDirectoryDialog(KDialog): toplayout.setStretchFactor(contentbox,1) label = QLabel(contentbox) - label.setPixmap(KGlobal.iconLoader().loadIcon("messagebox_warning", KIcon.NoGroup, KIcon.SizeMedium, + label.setPixmap(TDEGlobal.iconLoader().loadIcon("messagebox_warning", KIcon.NoGroup, KIcon.SizeMedium, KIcon.DefaultState, None, True)) contentbox.setStretchFactor(label,0) |