blob: aa3e99089816df15eddbb066c5f9ad4f301f2816 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
/**********************************************************************
--- TQt Architect generated file ---
File: ssfeprompt.cpp
Last generated: Thu Jan 15 20:49:56 1998
*********************************************************************/
#include "ssfeprompt.h"
#include <klocale.h>
#undef Inherited
#define Inherited ssfepromptdata
ssfePrompt::ssfePrompt
(
TQString prompttext,
TQWidget* tqparent,
const char* name
)
:
Inherited( tqparent, name )
{
setCaption( i18n("Prompt") );
prompt->setText(prompttext);
SLine->setFocus();
}
ssfePrompt::~ssfePrompt()
{
}
void ssfePrompt::terminate()
{
done(0);
}
TQString ssfePrompt::text()
{
TQString text;
text = SLine->text();
return text;
}
void ssfePrompt::setPassword(bool pass)
{
if(pass == TRUE)
SLine->setEchoMode(TQLineEdit::Password);
else
SLine->setEchoMode(TQLineEdit::Normal);
}
#include "ssfeprompt.moc"
|