summaryrefslogtreecommitdiffstats
path: root/kdm/kfrontend/kchooser.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
commit495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch)
treedaabcb652c07b9a17cad88ca50b63a2d91ead4a3 /kdm/kfrontend/kchooser.cpp
parent50001f1757f97510e80cb1990e2f2d5b00144c2a (diff)
downloadtdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz
tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdm/kfrontend/kchooser.cpp')
-rw-r--r--kdm/kfrontend/kchooser.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdm/kfrontend/kchooser.cpp b/kdm/kfrontend/kchooser.cpp
index df602efea..fb1954d95 100644
--- a/kdm/kfrontend/kchooser.cpp
+++ b/kdm/kfrontend/kchooser.cpp
@@ -59,13 +59,13 @@ ChooserDlg::ChooserDlg()
TQBoxLayout *vbox = new TQVBoxLayout( this, 10, 10 );
TQLabel *title = new TQLabel( i18n("XDMCP Host Menu"), this );
- title->setAlignment( AlignCenter );
+ title->tqsetAlignment( AlignCenter );
vbox->addWidget( title );
host_view = new TQListView( this, "hosts" );
host_view->addColumn( i18n("Hostname") );
host_view->setColumnWidth( 0, fontMetrics().width( "login.crap.net" ) );
- host_view->addColumn( i18n("Status") );
+ host_view->addColumn( i18n("tqStatus") );
host_view->setMinimumWidth( fontMetrics().width( "login.crap.com Display not authorized to connect this server" ) );
host_view->setResizeMode( TQListView::LastColumn );
host_view->setAllColumnsShowFocus( true );
@@ -145,14 +145,14 @@ void ChooserDlg::pingHosts()
void ChooserDlg::accept()
{
- if (focusWidget() == iline) {
+ if (tqfocusWidget() == iline) {
if (!iline->text().isEmpty()) {
GSendInt( G_Ch_DirectChoice );
GSendStr( iline->text().latin1() );
iline->clear();
}
return;
- } else /*if (focusWidget() == host_view)*/ {
+ } else /*if (tqfocusWidget() == 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::fromLatin1( arr );
+ TQString str = TQString::tqfromLatin1( arr );
free( arr );
return str;
} else