Now the systrayicon change it's color when a download is in progress. I simply change...
[kdenetwork.git] / ksirc / ssfeprompt.cpp
blob46e689097168ca4551d17c79eb6bd20266335b16
1 /**********************************************************************
3 --- Qt Architect generated file ---
5 File: ssfeprompt.cpp
6 Last generated: Thu Jan 15 20:49:56 1998
8 *********************************************************************/
10 #include "ssfeprompt.h"
11 #include <klocale.h>
13 #undef Inherited
14 #define Inherited ssfepromptdata
16 ssfePrompt::ssfePrompt
18 QString prompttext,
19 QWidget* parent,
20 const char* name
23 Inherited( parent, name )
25 setCaption( i18n("Prompt") );
26 prompt->setText(prompttext);
27 SLine->setFocus();
31 ssfePrompt::~ssfePrompt()
35 void ssfePrompt::terminate()
37 done(0);
40 QString ssfePrompt::text()
42 QString text;
43 text = SLine->text();
44 return text;
47 void ssfePrompt::setPassword(bool pass)
49 if(pass == TRUE)
50 SLine->setEchoMode(QLineEdit::Password);
51 else
52 SLine->setEchoMode(QLineEdit::Normal);
54 #include "ssfeprompt.moc"