diff options
author | Michele Calgaro <[email protected]> | 2023-11-13 21:03:36 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-13 21:03:36 +0900 |
commit | b965cbac5b21345e9dfc768a7e4f660ffa4aa72f (patch) | |
tree | 7fcff5d301752cbdcdfff64d8791aff1369b803f /kcontrol/tdm | |
parent | 7d6d35b42e00d6b6658951871b29489bdec80714 (diff) | |
download | tdebase-b965cbac5b21345e9dfc768a7e4f660ffa4aa72f.tar.gz tdebase-b965cbac5b21345e9dfc768a7e4f660ffa4aa72f.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kcontrol/tdm')
-rw-r--r-- | kcontrol/tdm/tdm-appear.cpp | 10 | ||||
-rw-r--r-- | kcontrol/tdm/tdm-users.cpp | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/kcontrol/tdm/tdm-appear.cpp b/kcontrol/tdm/tdm-appear.cpp index a1ee6bda4..21745ef5d 100644 --- a/kcontrol/tdm/tdm-appear.cpp +++ b/kcontrol/tdm/tdm-appear.cpp @@ -130,7 +130,7 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name) logobutton->installEventFilter(this); // for drag and drop connect(logobutton, TQT_SIGNAL(clicked()), TQT_SLOT(slotLogoButtonClicked())); hglay->addWidget(logoLabel, 1, 0); - hglay->addWidget(logobutton, 1, 1, Qt::AlignCenter); + hglay->addWidget(logobutton, 1, 1, TQt::AlignCenter); hglay->addRowSpacing(1, 110); wtstr = i18n("Click here to choose an image that TDM will display. " "You can also drag and drop an image onto this button " @@ -145,7 +145,7 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name) grid->addLayout(hglay, 2, 1); label = new TQLabel(i18n("Position:"), group); - hglay->addMultiCellWidget(label, 0,1, 0,0, Qt::AlignVCenter); + hglay->addMultiCellWidget(label, 0,1, 0,0, TQt::AlignVCenter); TQValidator *posValidator = new TQIntValidator(0, 100, TQT_TQOBJECT(group)); TQLabel *xLineLabel = new TQLabel(i18n("&X:"), group); hglay->addWidget(xLineLabel, 0, 1); @@ -226,7 +226,7 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name) // The Language group box - group = new TQGroupBox(0, Qt::Vertical, i18n("Locale"), this); + group = new TQGroupBox(0, TQt::Vertical, i18n("Locale"), this); vbox->addWidget(group); langcombo = new KLanguageButton(group); @@ -243,7 +243,7 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name) TQWhatsThis::add( langcombo, wtstr ); // The SAK group box - group = new TQGroupBox(0, Qt::Vertical, i18n("Secure Attention Key"), this); + group = new TQGroupBox(0, TQt::Vertical, i18n("Secure Attention Key"), this); vbox->addWidget(group); sakbox = new TQCheckBox( i18n("Enable Secure Attention Key"), group ); @@ -262,7 +262,7 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name) TQWhatsThis::add( sakbox, wtstr ); // Keyboard group box - group = new TQGroupBox(0, Qt::Vertical, i18n("Keyboard"), this); + group = new TQGroupBox(0, TQt::Vertical, i18n("Keyboard"), this); vbox->addWidget(group); kbdledbox = new TQCheckBox(i18n("Sync keyboard led status"), group); diff --git a/kcontrol/tdm/tdm-users.cpp b/kcontrol/tdm/tdm-users.cpp index c7e155565..4b7b64ba3 100644 --- a/kcontrol/tdm/tdm-users.cpp +++ b/kcontrol/tdm/tdm-users.cpp @@ -93,7 +93,7 @@ TDMUsersWidget::TDMUsersWidget(TQWidget *parent, const char *name) TQString wtstr; - minGroup = new TQGroupBox( 2, Qt::Horizontal, i18n("System U&IDs"), this ); + minGroup = new TQGroupBox( 2, TQt::Horizontal, i18n("System U&IDs"), this ); TQWhatsThis::add( minGroup, i18n("Users with a UID (numerical user identification) outside this range will not be listed by TDM and this setup dialog." " Note that users with the UID 0 (typically root) are not affected by this and must be" " explicitly hidden in \"Not hidden\" mode.")); @@ -114,7 +114,7 @@ TDMUsersWidget::TDMUsersWidget(TQWidget *parent, const char *name) connect(lemaxuid, TQT_SIGNAL(textChanged( const TQString & )), TQT_SLOT(slotChanged()) ); connect(lemaxuid, TQT_SIGNAL(textChanged( const TQString & )), TQT_SLOT(slotMinMaxChanged()) ); - usrGroup = new TQButtonGroup( 5, Qt::Vertical, i18n("Users"), this ); + usrGroup = new TQButtonGroup( 5, TQt::Vertical, i18n("Users"), this ); connect( usrGroup, TQT_SIGNAL(clicked( int )), TQT_SLOT(slotShowOpts()) ); connect( usrGroup, TQT_SIGNAL(clicked( int )), TQT_SLOT(slotChanged()) ); cbshowlist = new TQCheckBox( i18n("Show list"), usrGroup ); @@ -154,7 +154,7 @@ TDMUsersWidget::TDMUsersWidget(TQWidget *parent, const char *name) connect( optoutlv, TQT_SIGNAL(clicked( TQListViewItem * )), TQT_SLOT(slotChanged()) ); - faceGroup = new TQButtonGroup( 5, Qt::Vertical, i18n("User Image Source"), this ); + faceGroup = new TQButtonGroup( 5, TQt::Vertical, i18n("User Image Source"), this ); TQWhatsThis::add( faceGroup, i18n("Here you can specify where TDM will obtain the images that represent users." " \"Admin\" represents the global folder; these are the pictures you can set below." " \"User\" means that TDM should read the user's $HOME/.face.icon file." @@ -191,8 +191,8 @@ TDMUsersWidget::TDMUsersWidget(TQWidget *parent, const char *name) hlpl->addWidget( userlabel, 0, 0 ); // hlpl->addSpacing( KDialog::spacingHint() ); hlpl->addWidget( usercombo, 0, 1 ); - hlpl->addMultiCellWidget( userbutton, 1,1, 0,1, Qt::AlignHCenter ); - hlpl->addMultiCellWidget( rstuserbutton, 2,2, 0,1, Qt::AlignHCenter ); + hlpl->addMultiCellWidget( userbutton, 1,1, 0,1, TQt::AlignHCenter ); + hlpl->addMultiCellWidget( rstuserbutton, 2,2, 0,1, TQt::AlignHCenter ); TQHBoxLayout *main = new TQHBoxLayout( this, 10 ); |