From fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 7 Jan 2011 04:10:07 +0000 Subject: Revert automated changes Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdmlib/kgreet_winbind.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kdmlib/kgreet_winbind.cpp') diff --git a/kdmlib/kgreet_winbind.cpp b/kdmlib/kgreet_winbind.cpp index 0e188ba3b..5f6530707 100644 --- a/kdmlib/kgreet_winbind.cpp +++ b/kdmlib/kgreet_winbind.cpp @@ -80,7 +80,7 @@ KWinbindGreeter::KWinbindGreeter( KGreeterPluginHandler *_handler, TQGridLayout *grid = 0; int line = 0; - tqlayoutItem = 0; + layoutItem = 0; if (themer && (!(user_entry = themer->findNode( "user-entry" )) || @@ -89,7 +89,7 @@ KWinbindGreeter::KWinbindGreeter( KGreeterPluginHandler *_handler, themer = 0; if (!themer) - tqlayoutItem = grid = new TQGridLayout( 0, 0, 10 ); + layoutItem = grid = new TQGridLayout( 0, 0, 10 ); domainLabel = loginLabel = passwdLabel = passwd1Label = passwd2Label = 0; domainCombo = 0; @@ -206,16 +206,16 @@ KWinbindGreeter::KWinbindGreeter( KGreeterPluginHandler *_handler, KWinbindGreeter::~KWinbindGreeter() { abort(); - if (!tqlayoutItem) { + if (!layoutItem) { delete loginEdit; delete passwdEdit; delete domainCombo; return; } - TQLayoutIterator it = static_cast(tqlayoutItem)->iterator(); + TQLayoutIterator it = static_cast(layoutItem)->iterator(); for (TQLayoutItem *itm = it.current(); itm; itm = ++it) delete itm->widget(); - delete tqlayoutItem; + delete layoutItem; delete m_domainLister; } @@ -593,7 +593,7 @@ KWinbindGreeter::slotEndDomainList() for (TQStringList::const_iterator it = mDomainListing.begin(); it != mDomainListing.end(); ++it) { - if (!domainList.tqcontains(*it)) + if (!domainList.contains(*it)) domainList.append(*it); } @@ -625,7 +625,7 @@ static bool init( const TQString &, { echoMode = getConf( ctx, "EchoMode", TQVariant( -1 ) ).toInt(); staticDomains = TQStringList::split( ':', getConf( ctx, "winbind.Domains", TQVariant( "" ) ).toString() ); - if (!staticDomains.tqcontains("")) + if (!staticDomains.contains("")) staticDomains << ""; defaultDomain = getConf( ctx, "winbind.DefaultDomain", TQVariant( staticDomains.first() ) ).toString(); -- cgit v1.2.3