diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:26:54 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:26:54 -0600 |
commit | 4066d7fb18b31353b86afa9fc1d94d492008e733 (patch) | |
tree | 4b4b8888abd5cd6523601b770b188927d259d8e6 /userconfig/userconfig.py | |
parent | 3a80ef8a0d25cc90b92b41dccd698b5d7ec9dc13 (diff) | |
download | tde-guidance-4066d7fb18b31353b86afa9fc1d94d492008e733.tar.gz tde-guidance-4066d7fb18b31353b86afa9fc1d94d492008e733.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
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) |