summaryrefslogtreecommitdiffstats
path: root/kdm/kfrontend/kchooser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdm/kfrontend/kchooser.cpp')
-rw-r--r--kdm/kfrontend/kchooser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdm/kfrontend/kchooser.cpp b/kdm/kfrontend/kchooser.cpp
index c76f041e2..9f8f5064d 100644
--- a/kdm/kfrontend/kchooser.cpp
+++ b/kdm/kfrontend/kchooser.cpp
@@ -59,7 +59,7 @@ ChooserDlg::ChooserDlg()
TQBoxLayout *vbox = new TQVBoxLayout( this, 10, 10 );
TQLabel *title = new TQLabel( i18n("XDMCP Host Menu"), this );
- title->tqsetAlignment( AlignCenter );
+ title->setAlignment( AlignCenter );
vbox->addWidget( title );
host_view = new TQListView( this, "hosts" );
@@ -145,14 +145,14 @@ void ChooserDlg::pingHosts()
void ChooserDlg::accept()
{
- if (tqfocusWidget() == iline) {
+ if (focusWidget() == iline) {
if (!iline->text().isEmpty()) {
GSendInt( G_Ch_DirectChoice );
GSendStr( iline->text().latin1() );
iline->clear();
}
return;
- } else /*if (tqfocusWidget() == host_view)*/ {
+ } else /*if (focusWidget() == host_view)*/ {
TQListViewItem *item = host_view->currentItem();
if (item) {
GSendInt( G_Ready );
@@ -170,7 +170,7 @@ TQString ChooserDlg::recvStr()
{
char *arr = GRecvStr();
if (arr) {
- TQString str = TQString::tqfromLatin1( arr );
+ TQString str = TQString::fromLatin1( arr );
free( arr );
return str;
} else