diff options
Diffstat (limited to 'kdmlib/kgreet_classic.cpp')
-rw-r--r-- | kdmlib/kgreet_classic.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kdmlib/kgreet_classic.cpp b/kdmlib/kgreet_classic.cpp index af6d80172..b37f2bab7 100644 --- a/kdmlib/kgreet_classic.cpp +++ b/kdmlib/kgreet_classic.cpp @@ -1,6 +1,6 @@ /* -Conversation widget for kdm greeter +Conversation widget for tdm greeter Copyright (C) 1997, 1998, 2000 Steffen Hansen <hansen@kde.org> Copyright (C) 2000-2003 Oswald Buddenhagen <ossi@kde.org> @@ -23,8 +23,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "kgreet_classic.h" -#include "themer/kdmthemer.h" -#include "themer/kdmitem.h" +#include "themer/tdmthemer.h" +#include "themer/tdmitem.h" #include <klocale.h> #include <klineedit.h> @@ -35,10 +35,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include <tqlayout.h> #include <tqlabel.h> -class KDMPasswordEdit : public KPasswordEdit { +class TDMPasswordEdit : public KPasswordEdit { public: - KDMPasswordEdit( TQWidget *parent ) : KPasswordEdit( parent, 0 ) {} - KDMPasswordEdit( KPasswordEdit::EchoModes echoMode, TQWidget *parent ) : KPasswordEdit( echoMode, parent, 0 ) {} + TDMPasswordEdit( TQWidget *parent ) : KPasswordEdit( parent, 0 ) {} + TDMPasswordEdit( KPasswordEdit::EchoModes echoMode, TQWidget *parent ) : KPasswordEdit( echoMode, parent, 0 ) {} protected: virtual void contextMenuEvent( TQContextMenuEvent * ) {} }; @@ -105,9 +105,9 @@ KClassicGreeter::KClassicGreeter( KGreeterPluginHandler *_handler, grid->addWidget( new TQLabel( fixedUser, parent ), line++, 1 ); } if (echoMode == -1) - passwdEdit = new KDMPasswordEdit( parent ); + passwdEdit = new TDMPasswordEdit( parent ); else - passwdEdit = new KDMPasswordEdit( (KPasswordEdit::EchoModes)echoMode, + passwdEdit = new TDMPasswordEdit( (KPasswordEdit::EchoModes)echoMode, parent ); connect( passwdEdit, TQT_SIGNAL(textChanged( const TQString & )), TQT_SLOT(slotActivity()) ); @@ -135,11 +135,11 @@ KClassicGreeter::KClassicGreeter( KGreeterPluginHandler *_handler, } if (func != Authenticate) { if (echoMode == -1) { - passwd1Edit = new KDMPasswordEdit( (KPasswordEdit::EchoModes)echoMode, parent ); - passwd2Edit = new KDMPasswordEdit( (KPasswordEdit::EchoModes)echoMode, parent ); + passwd1Edit = new TDMPasswordEdit( (KPasswordEdit::EchoModes)echoMode, parent ); + passwd2Edit = new TDMPasswordEdit( (KPasswordEdit::EchoModes)echoMode, parent ); } else { - passwd1Edit = new KDMPasswordEdit( parent ); - passwd2Edit = new KDMPasswordEdit( parent ); + passwd1Edit = new TDMPasswordEdit( parent ); + passwd2Edit = new TDMPasswordEdit( parent ); } passwd1Label = new TQLabel( passwd1Edit, i18n("&New password:"), parent ); passwd2Label = new TQLabel( passwd2Edit, i18n("Con&firm password:"), parent ); |