#include <RegisteredUsersDialog.h>
RegisteredUsersDialog::RegisteredUsersDialog |
( |
QWidget * |
par = 0 | ) |
|
References __tr2qs_ctx(), KviIconManager::Accept, addClicked(), addGroupClicked(), addWizardClicked(), cancelClicked(), connect(), KviRegisteredUserDataBase::copyFrom(), KviIconManager::Discard, editClicked(), exportClicked(), f, fillList(), g, g_pApp, g_pIconManager, g_pLocalRegisteredUserDataBase, g_pMainWindow, g_pRegisteredUserDataBase, KviIconManager::getSmallIcon(), importClicked(), itemDoubleClicked(), itemPressed(), KVI_OPTION_RECT, KviOption_rectRegisteredUsersDialogGeometry, m_pAddButton, m_pAddGroupButton, m_pEditButton, m_pExportButton, m_pImportButton, m_pListView, m_pRemoveButton, m_pSelectAllButton, m_pWizardAddButton, KviMemory::move(), okClicked(), KviIconManager::RegUsers, removeClicked(), rightButtonPressed(), selectAllClicked(), selectionChanged(), KviTalVBox::setSpacing(), KviTalHBox::setSpacing(), and y.
RegisteredUsersDialog::~RegisteredUsersDialog |
( |
| ) |
|
void RegisteredUsersDialog::addClicked |
( |
| ) |
|
|
protectedslot |
void RegisteredUsersDialog::addGroupClicked |
( |
| ) |
|
|
protectedslot |
void RegisteredUsersDialog::addWizardClicked |
( |
| ) |
|
|
protectedslot |
void RegisteredUsersDialog::cancelClicked |
( |
| ) |
|
|
protectedslot |
void RegisteredUsersDialog::closeEvent |
( |
QCloseEvent * |
e | ) |
|
|
protectedvirtual |
void RegisteredUsersDialog::editClicked |
( |
| ) |
|
|
protectedslot |
References __tr2qs_ctx(), c, d, KviQString::equalCI(), fillList(), KviPointerHashTable< Key, T >::first(), g_pLocalRegisteredUserDataBase, KviRegisteredUserDataBase::groupDict(), KviPointerHashTable< Key, T >::insert(), m_pListView, KviRegisteredUserGroup::name(), KviPointerHashTable< Key, T >::next(), Normal, KviPointerHashTable< Key, T >::remove(), KviPointerHashTable< Key, T >::setAutoDelete(), KviRegisteredUserGroup::setName(), u, and KviRegisteredUserDataBase::userDict().
Referenced by editClicked(), and itemDoubleClicked().
void RegisteredUsersDialog::exportClicked |
( |
| ) |
|
|
protectedslot |
References __tr2qs_ctx(), KviFileDialog::askForSaveFileName(), KviPointerHashTable< Key, T >::count(), KviPointerList< T >::count(), f, KviPointerList< T >::first(), KviPointerHashTable< Key, T >::firstEntry(), g_pIconManager, KviIconManager::getAvatar(), KviRegisteredUser::getProperty(), i, KVI_REGUSER_DB_FILE_MAGIC, KVI_REGUSER_DB_FILE_VERSION, m, m_pListView, _KviReguserDbFileHeader::magic, KviRegisteredUser::maskList(), KviRegisteredUser::name(), _KviReguserDbFileHeader::nentries, KviPointerList< T >::next(), KviPointerHashTable< Key, T >::nextEntry(), KviIrcMask::NickUserHost, KviAvatar::pixmap(), KviRegisteredUser::propertyDict(), KviFile::save(), RegisteredUsersDialogItemBase::type(), KviRuntimeInfo::type(), u, RegisteredUsersDialogItemBase::User, _KviReguserDbFileHeader::version, and KviMessageBox::warning().
Referenced by RegisteredUsersDialog().
void RegisteredUsersDialog::fillList |
( |
| ) |
|
|
protected |
References __tr2qs_ctx(), KviRegisteredUserDataBase::addGroup(), d, KviPointerHashTable< Key, T >::find(), KviPointerHashTable< Key, T >::first(), g, g_pLocalRegisteredUserDataBase, KviRegisteredUserDataBase::groupDict(), KviPointerHashTable< Key, T >::insert(), m_pListView, KviPointerHashTable< Key, T >::next(), Q_UNUSED(), KviPointerHashTable< Key, T >::setAutoDelete(), u, and KviRegisteredUserDataBase::userDict().
Referenced by addClicked(), addGroupClicked(), addWizardClicked(), editGroup(), editItem(), importClicked(), moveToGroupMenuClicked(), RegisteredUsersDialog(), and removeClicked().
void RegisteredUsersDialog::importClicked |
( |
| ) |
|
|
protectedslot |
References __tr2qs_ctx(), KviRegisteredUserDataBase::addMask(), KviFileUtils::adjustFilePath(), KviFileDialog::askForOpenFileName(), KviApplication::Avatars, f, KviFileUtils::fileExists(), fillList(), g_pApp, g_pLocalRegisteredUserDataBase, KviApplication::getLocalKvircDirectory(), KviRegisteredUserDataBase::getUser(), KVI_REGUSER_DB_FILE_MAGIC, KVI_REGUSER_DB_FILE_VERSION, KviFile::load(), m, _KviReguserDbFileHeader::magic, KviRegisteredUser::name(), _KviReguserDbFileHeader::nentries, KviRegisteredUser::setProperty(), u, _KviReguserDbFileHeader::version, and KviMessageBox::warning().
Referenced by RegisteredUsersDialog().
void RegisteredUsersDialog::itemDoubleClicked |
( |
QTreeWidgetItem * |
it, |
|
|
int |
|
|
) |
| |
|
protectedslot |
void RegisteredUsersDialog::itemPressed |
( |
QTreeWidgetItem * |
it, |
|
|
int |
c |
|
) |
| |
|
protectedslot |
References KviPointerList< T >::first(), KviRegisteredUser::getProperty(), i, m, m_pListView, KviRegisteredUser::maskList(), KviRegisteredUser::name(), KviPointerList< T >::next(), r, KviRegisteredUser::setProperty(), RegisteredUsersDialogItemBase::type(), RegisteredUsersDialogItemBase::User, and RegisteredUsersDialogItem::user().
Referenced by RegisteredUsersDialog().
void RegisteredUsersDialog::moveToGroupMenuClicked |
( |
QAction * |
pAction | ) |
|
|
protectedslot |
void RegisteredUsersDialog::okClicked |
( |
| ) |
|
|
protectedslot |
void RegisteredUsersDialog::removeClicked |
( |
| ) |
|
|
protectedslot |
void RegisteredUsersDialog::rightButtonPressed |
( |
QTreeWidgetItem * |
pItem, |
|
|
QPoint |
pnt |
|
) |
| |
|
protectedslot |
References __tr2qs_ctx(), connect(), KviPointerHashTable< Key, T >::firstEntry(), g, g_pLocalRegisteredUserDataBase, KviRegisteredUserDataBase::groupDict(), moveToGroupMenuClicked(), KviPointerHashTable< Key, T >::nextEntry(), RegisteredUsersDialogItemBase::type(), and RegisteredUsersDialogItemBase::User.
Referenced by RegisteredUsersDialog().
void RegisteredUsersDialog::selectAllClicked |
( |
| ) |
|
|
protectedslot |
void RegisteredUsersDialog::selectionChanged |
( |
| ) |
|
|
protectedslot |
QPushButton* RegisteredUsersDialog::m_pAddButton |
QPushButton* RegisteredUsersDialog::m_pAddGroupButton |
QPushButton* RegisteredUsersDialog::m_pEditButton |
QPushButton* RegisteredUsersDialog::m_pExportButton |
QPushButton* RegisteredUsersDialog::m_pImportButton |
Referenced by cancelClicked(), closeEvent(), editClicked(), editGroup(), editItem(), exportClicked(), fillList(), itemPressed(), moveToGroupMenuClicked(), okClicked(), RegisteredUsersDialog(), removeClicked(), selectAllClicked(), and selectionChanged().
QPushButton* RegisteredUsersDialog::m_pRemoveButton |
QPushButton* RegisteredUsersDialog::m_pSelectAllButton |
QPushButton* RegisteredUsersDialog::m_pWizardAddButton |
The documentation for this class was generated from the following files: