File: pass_info.cpp

package info (click to toggle)
xca 2.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,328 kB
  • sloc: cpp: 30,584; sh: 341; xml: 74; makefile: 56; python: 34
file content (20 lines) | stat: -rw-r--r-- 391 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* vi: set sw=4 ts=4:
 *
 * Copyright (C) 2001 - 2007 Christian Hohnstaedt.
 *
 * All rights reserved.
 */

#include "pass_info.h"

pass_info::pass_info(const QString &t, const QString &d, QWidget *w)
	: title(t), description(d), widget(w),
	type(tr("Password")), pixmap(QString(":keyImg")), result(pw_ok)
{
}

void pass_info::setPin()
{
	type = tr("PIN");
	pixmap = QString(":scardImg");
}