diff options
Diffstat (limited to 'mountconfig/mountconfig.py')
-rwxr-xr-x | mountconfig/mountconfig.py | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/mountconfig/mountconfig.py b/mountconfig/mountconfig.py index f377362..260f215 100755 --- a/mountconfig/mountconfig.py +++ b/mountconfig/mountconfig.py @@ -1386,10 +1386,10 @@ class MountEntryDialogOptions(TQWidget): hbox.setSpacing(KDialog.spacingHint()) self.mountpointlineedit = KLineEdit(hbox) hbox.setStretchFactor(self.mountpointlineedit,1) - #self.connect(self.homediredit, SIGNAL("textChanged(const TQString &)"), self.slotHomeDirChanged) + #self.connect(self.homediredit, TQ_SIGNAL("textChanged(const TQString &)"), self.slotHomeDirChanged) self.mountpointbutton = KPushButton(i18n("Browse..."),hbox) hbox.setStretchFactor(self.mountpointbutton,0) - self.connect(self.mountpointbutton,SIGNAL("clicked()"),self.slotBrowseMountPointClicked) + self.connect(self.mountpointbutton,TQ_SIGNAL("clicked()"),self.slotBrowseMountPointClicked) grid.addMultiCellWidget(hbox,row,row,1,3) row += 1 @@ -1401,7 +1401,7 @@ class MountEntryDialogOptions(TQWidget): grid.addWidget(label,row,0) self.devicecheckbox = TQRadioButton(i18n("by name"),hbox) - self.connect(self.devicecheckbox,SIGNAL("clicked()"), \ + self.connect(self.devicecheckbox,TQ_SIGNAL("clicked()"), \ self.slotDeviceCheckboxClicked) self.devicelineedit = KLineEdit(hbox) grid.addMultiCellWidget(hbox,row,row,1,3) @@ -1414,7 +1414,7 @@ class MountEntryDialogOptions(TQWidget): hbox = TQHBox(self) hbox.setSpacing(KDialog.spacingHint()) self.uuidcheckbox = TQRadioButton(i18n("by UUID"),hbox) - self.connect(self.uuidcheckbox,SIGNAL("clicked()"), \ + self.connect(self.uuidcheckbox,TQ_SIGNAL("clicked()"), \ self.slotUUIDCheckboxClicked) self.uuidlineedit = KLineEdit(hbox) grid.addMultiCellWidget(hbox,row,row,1,3) @@ -1424,7 +1424,7 @@ class MountEntryDialogOptions(TQWidget): hbox = TQHBox(self) hbox.setSpacing(KDialog.spacingHint()) self.labelcheckbox = TQRadioButton(i18n("by label"),hbox) - self.connect(self.labelcheckbox,SIGNAL("clicked()"), \ + self.connect(self.labelcheckbox,TQ_SIGNAL("clicked()"), \ self.slotLabelCheckboxClicked) self.labellineedit = KLineEdit(hbox) grid.addMultiCellWidget(hbox,row,row,1,3) @@ -1637,10 +1637,10 @@ class MountEntryDialogOptionsCommonUnix(MountEntryDialogOptions): hbox.setSpacing(KDialog.spacingHint()) self.mountpointlineedit = KLineEdit(hbox) hbox.setStretchFactor(self.mountpointlineedit,1) - #self.connect(self.homediredit, SIGNAL("textChanged(const TQString &)"), self.slotHomeDirChanged) + #self.connect(self.homediredit, TQ_SIGNAL("textChanged(const TQString &)"), self.slotHomeDirChanged) self.mountpointbutton = KPushButton(i18n("Browse..."),hbox) hbox.setStretchFactor(self.mountpointbutton,0) - self.connect(self.mountpointbutton,SIGNAL("clicked()"), \ + self.connect(self.mountpointbutton,TQ_SIGNAL("clicked()"), \ self.slotBrowseMountPointClicked) grid.addWidget(hbox,row,1) row += 1 @@ -1654,7 +1654,7 @@ class MountEntryDialogOptionsCommonUnix(MountEntryDialogOptions): grid.addWidget(label,row,0) self.devicecheckbox = TQRadioButton(i18n("by name"),hbox) - self.connect(self.devicecheckbox,SIGNAL("clicked()"), \ + self.connect(self.devicecheckbox,TQ_SIGNAL("clicked()"), \ self.slotDeviceCheckboxClicked) self.devicelineedit = KLineEdit(hbox) grid.addWidget(hbox,row,1) @@ -1667,7 +1667,7 @@ class MountEntryDialogOptionsCommonUnix(MountEntryDialogOptions): hbox = TQHBox(self) hbox.setSpacing(KDialog.spacingHint()) self.uuidcheckbox = TQRadioButton(i18n("by UUID"),hbox) - self.connect(self.uuidcheckbox,SIGNAL("clicked()"), \ + self.connect(self.uuidcheckbox,TQ_SIGNAL("clicked()"), \ self.slotUUIDCheckboxClicked) self.uuidlineedit = KLineEdit(hbox) grid.addWidget(hbox,row,1) @@ -1677,7 +1677,7 @@ class MountEntryDialogOptionsCommonUnix(MountEntryDialogOptions): hbox = TQHBox(self) hbox.setSpacing(KDialog.spacingHint()) self.labelcheckbox = TQRadioButton(i18n("by label"),hbox) - self.connect(self.labelcheckbox,SIGNAL("clicked()"), \ + self.connect(self.labelcheckbox,TQ_SIGNAL("clicked()"), \ self.slotLabelCheckboxClicked) self.labellineedit = KLineEdit(hbox) grid.addWidget(hbox,row,1) @@ -1714,7 +1714,7 @@ class MountEntryDialogOptionsCommonUnix(MountEntryDialogOptions): #grid.addWidget(,9,0) button = KPushButton(i18n("Advanced..."),self) button.setSizePolicy(TQSizePolicy.Fixed,TQSizePolicy.Fixed) - self.connect(button,SIGNAL("clicked()"),self.slotAdvancedClicked) + self.connect(button,TQ_SIGNAL("clicked()"),self.slotAdvancedClicked) grid.addWidget(button,row,1,TQt.AlignRight) row += 1 @@ -1891,10 +1891,10 @@ class MountEntryDialogOptionsVFAT(MountEntryDialogOptions): hbox.setSpacing(KDialog.spacingHint()) self.mountpointlineedit = KLineEdit(hbox) hbox.setStretchFactor(self.mountpointlineedit,1) - #self.connect(self.homediredit, SIGNAL("textChanged(const TQString &)"), self.slotHomeDirChanged) + #self.connect(self.homediredit, TQ_SIGNAL("textChanged(const TQString &)"), self.slotHomeDirChanged) self.mountpointbutton = KPushButton(i18n("Browse..."),hbox) hbox.setStretchFactor(self.mountpointbutton,0) - self.connect(self.mountpointbutton,SIGNAL("clicked()"),self.slotBrowseMountPointClicked) + self.connect(self.mountpointbutton,TQ_SIGNAL("clicked()"),self.slotBrowseMountPointClicked) grid.addMultiCellWidget(hbox,row,row,1,3) row += 1 @@ -1906,7 +1906,7 @@ class MountEntryDialogOptionsVFAT(MountEntryDialogOptions): grid.addWidget(label,row,0) self.devicecheckbox = TQRadioButton(i18n("by name"),hbox) - self.connect(self.devicecheckbox,SIGNAL("clicked()"), \ + self.connect(self.devicecheckbox,TQ_SIGNAL("clicked()"), \ self.slotDeviceCheckboxClicked) self.devicelineedit = KLineEdit(hbox) grid.addWidget(hbox,row,1) @@ -1919,7 +1919,7 @@ class MountEntryDialogOptionsVFAT(MountEntryDialogOptions): hbox = TQHBox(self) hbox.setSpacing(KDialog.spacingHint()) self.uuidcheckbox = TQRadioButton(i18n("by UUID"),hbox) - self.connect(self.uuidcheckbox,SIGNAL("clicked()"), \ + self.connect(self.uuidcheckbox,TQ_SIGNAL("clicked()"), \ self.slotUUIDCheckboxClicked) self.uuidlineedit = KLineEdit(hbox) grid.addWidget(hbox,row,1) @@ -1929,7 +1929,7 @@ class MountEntryDialogOptionsVFAT(MountEntryDialogOptions): hbox = TQHBox(self) hbox.setSpacing(KDialog.spacingHint()) self.labelcheckbox = TQRadioButton(i18n("by label"),hbox) - self.connect(self.labelcheckbox,SIGNAL("clicked()"), \ + self.connect(self.labelcheckbox,TQ_SIGNAL("clicked()"), \ self.slotLabelCheckboxClicked) self.labellineedit = KLineEdit(hbox) grid.addWidget(hbox,row,1) @@ -1998,7 +1998,7 @@ class MountEntryDialogOptionsVFAT(MountEntryDialogOptions): row += 1 button = KPushButton(i18n("Advanced..."),self) button.setSizePolicy(TQSizePolicy.Fixed,TQSizePolicy.Fixed) - self.connect(button,SIGNAL("clicked()"),self.slotAdvancedClicked) + self.connect(button,TQ_SIGNAL("clicked()"),self.slotAdvancedClicked) grid.addMultiCellWidget(button,row,row,1,3,TQt.AlignRight) ######################################################################## @@ -2146,10 +2146,10 @@ class MountEntryDialogOptionsSMB(MountEntryDialogOptions): hbox.setSpacing(KDialog.spacingHint()) self.mountpointlineedit = KLineEdit(hbox) hbox.setStretchFactor(self.mountpointlineedit,1) - #self.connect(self.homediredit, SIGNAL("textChanged(const TQString &)"), self.slotHomeDirChanged) + #self.connect(self.homediredit, TQ_SIGNAL("textChanged(const TQString &)"), self.slotHomeDirChanged) self.mountpointbutton = KPushButton(i18n("Browse..."),hbox) hbox.setStretchFactor(self.mountpointbutton,0) - self.connect(self.mountpointbutton,SIGNAL("clicked()"),self.slotBrowseMountPointClicked) + self.connect(self.mountpointbutton,TQ_SIGNAL("clicked()"),self.slotBrowseMountPointClicked) grid.addMultiCellWidget(hbox,0,0,1,3) label = TQLabel(i18n("Network Share:"),self) @@ -2160,7 +2160,7 @@ class MountEntryDialogOptionsSMB(MountEntryDialogOptions): hbox.setStretchFactor(self.devicelineedit,1) self.devicelinebutton = KPushButton(i18n("Scan..."),hbox) hbox.setStretchFactor(self.devicelinebutton,0) - self.connect(self.devicelinebutton,SIGNAL("clicked()"),self.slotBrowseDeviceLineClicked) + self.connect(self.devicelinebutton,TQ_SIGNAL("clicked()"),self.slotBrowseDeviceLineClicked) grid.addMultiCellWidget(hbox,1,1,1,3) # Connect as: @@ -2174,14 +2174,14 @@ class MountEntryDialogOptionsSMB(MountEntryDialogOptions): tmplabel = TQLabel(self) tmplabel.setText(i18n("Guest")) grid.addMultiCellWidget(tmplabel,2,2,2,3) - self.connect(self.guestradio,SIGNAL("stateChanged(int)"),self.slotGuestRadioClicked) + self.connect(self.guestradio,TQ_SIGNAL("stateChanged(int)"),self.slotGuestRadioClicked) self.userradio = TQRadioButton(self) grid.addWidget(self.userradio,3,1) tmplabel = TQLabel(self) tmplabel.setText(i18n("Username:")) grid.addWidget(tmplabel,3,2) - self.connect(self.userradio,SIGNAL("stateChanged(int)"),self.slotUserRadioClicked) + self.connect(self.userradio,TQ_SIGNAL("stateChanged(int)"),self.slotUserRadioClicked) self.usernameedit = KLineEdit(self) grid.addWidget(self.usernameedit,3,3) @@ -2233,7 +2233,7 @@ class MountEntryDialogOptionsSMB(MountEntryDialogOptions): button = KPushButton(i18n("Advanced..."),self) button.setSizePolicy(TQSizePolicy.Fixed,TQSizePolicy.Fixed) - self.connect(button,SIGNAL("clicked()"),self.slotAdvancedClicked) + self.connect(button,TQ_SIGNAL("clicked()"),self.slotAdvancedClicked) grid.addMultiCellWidget(button,13,13,1,3,TQt.AlignRight) self.selectsmbdialog = None @@ -2483,7 +2483,7 @@ class MountEntryDialog(KDialogBase): self.MountTypeEditors.update(self.MountTypeEditorsSystem) #hb.setStretchFactor(self.runlevelcombo,0) - self.connect(self.mounttypecombo, SIGNAL("activated(int)"), self.slotMountTypeChanged) + self.connect(self.mounttypecombo, TQ_SIGNAL("activated(int)"), self.slotMountTypeChanged) widget = TQWidget(hb) hb.setStretchFactor(widget,1) @@ -2909,11 +2909,11 @@ class MountConfigApp(programbase): self.mountlist.setSelectionMode(TQListView.Single) self.mountlist.setRootIsDecorated(True) self.mountlist.setSorting(-1) - self.connect(self.mountlist, SIGNAL("selectionChanged(TQListViewItem *)"), self.slotListClicked) + self.connect(self.mountlist, TQ_SIGNAL("selectionChanged(TQListViewItem *)"), self.slotListClicked) # Doubleclick in item opens modify dialogue. - self.connect(self.mountlist, SIGNAL("doubleClicked(TQListViewItem *)"), self.slotModifyClicked) + self.connect(self.mountlist, TQ_SIGNAL("doubleClicked(TQListViewItem *)"), self.slotModifyClicked) # Rightclick: Open ContextMenu - self.connect(self.mountlist, SIGNAL("contextMenu(TDEListView*,TQListViewItem*,const TQPoint&)"), + self.connect(self.mountlist, TQ_SIGNAL("contextMenu(TDEListView*,TQListViewItem*,const TQPoint&)"), self.slotContextMenu) hbox = TQHBox(topwidget) @@ -2923,28 +2923,28 @@ class MountConfigApp(programbase): toplayout.setStretchFactor(hbox,0) self.newbutton = KPushButton(i18n("New..."),hbox) hbox.setStretchFactor(self.newbutton,1) - self.connect(self.newbutton,SIGNAL("clicked()"),self.slotNewClicked) + self.connect(self.newbutton,TQ_SIGNAL("clicked()"),self.slotNewClicked) self.newbutton.setEnabled(isroot) self.modifybutton = KPushButton(i18n("Modify..."),hbox) hbox.setStretchFactor(self.modifybutton,1) - self.connect(self.modifybutton,SIGNAL("clicked()"),self.slotModifyClicked) + self.connect(self.modifybutton,TQ_SIGNAL("clicked()"),self.slotModifyClicked) self.deletebutton = KPushButton(i18n("Delete..."),hbox) hbox.setStretchFactor(self.deletebutton,1) - self.connect(self.deletebutton,SIGNAL("clicked()"),self.slotDeleteClicked) + self.connect(self.deletebutton,TQ_SIGNAL("clicked()"),self.slotDeleteClicked) self.enablebutton = KPushButton(i18n("Enable"),hbox) hbox.setStretchFactor(self.enablebutton,1) - self.connect(self.enablebutton,SIGNAL("clicked()"),self.slotEnableClicked) + self.connect(self.enablebutton,TQ_SIGNAL("clicked()"),self.slotEnableClicked) self.disablebutton = KPushButton(i18n("Disable"),hbox) hbox.setStretchFactor(self.disablebutton,1) - self.connect(self.disablebutton,SIGNAL("clicked()"),self.slotDisableClicked) + self.connect(self.disablebutton,TQ_SIGNAL("clicked()"),self.slotDisableClicked) self.detailsbutton = KPushButton(i18n("Details..."),hbox) hbox.setStretchFactor(self.detailsbutton,1) - self.connect(self.detailsbutton,SIGNAL("clicked()"),self.slotDetailsClicked) + self.connect(self.detailsbutton,TQ_SIGNAL("clicked()"),self.slotDetailsClicked) self.devstolistitems = None self.uuidstolistitems = None |