23 #ifndef idEB6A779F_CFBD_4900_AFC803D7BF80EC31
24 #define idEB6A779F_CFBD_4900_AFC803D7BF80EC31
27 #include "gui/configuration/configpage.h"
32 class QTableWidgetItem;
42 QIcon
icon()
const override
44 return QIcon(
":/icons/padlock.png");
46 QString
name()
const override
48 return tr(
"Server passwords");
60 void clearTable(QTableWidget *table);
61 int findPassphraseInTable(
const QString &phrase);
63 bool isPassphraseInTable(
const QString &phrase);
64 void revealPasswords();
68 QTableWidgetItem *toolTipItem(
const QString &contents);
72 void addPasswordFromLineEdit();
73 void onPasswordTableCellChange(
int currentRow,
int currentColumn,
74 int previousRow,
int previousColumn);
75 void removeSelectedPasswords();
76 void removeSelectedServers();
77 void showServerLossWarningIfNecessary();
78 void setPasswordsHidden(
bool hidden);