Quassel IRC  Pre-Release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
UserId Struct Reference

#include </tmp/quassel/src/common/types.h>

Inheritance diagram for UserId:
Collaboration diagram for UserId:

Public Member Functions

 UserId (int _id=0)
qint32 toInt () const
bool isValid () const
bool operator== (const SignedId &other) const
bool operator== (int i) const
bool operator!= (const SignedId &other) const
bool operator!= (int i) const
bool operator< (const SignedId &other) const
bool operator< (int i) const
bool operator<= (const SignedId &other) const
bool operator<= (int i) const
bool operator> (const SignedId &other) const
bool operator> (int i) const
bool operator>= (const SignedId &other) const
SignedId operator++ (int)

Protected Attributes

qint32 id

Detailed Description

Definition at line 67 of file types.h.

Constructor & Destructor Documentation

UserId ( int  _id = 0)
inline

Definition at line 68 of file types.h.

Member Function Documentation

qint32 toInt ( ) const
inlineinherited

Definition at line 39 of file types.h.

References SignedId::id.

Referenced by PostgreSqlStorage::addUser(), SqliteStorage::addUser(), PostgreSqlStorage::awayMessage(), SqliteStorage::awayMessage(), SqliteStorage::bindNetworkInfo(), PostgreSqlStorage::bindNetworkInfo(), PostgreSqlStorage::bufferInfo(), SqliteStorage::bufferInfo(), PostgreSqlStorage::bufferLastSeenMsgIds(), SqliteStorage::bufferLastSeenMsgIds(), PostgreSqlStorage::bufferMarkerLineMsgIds(), SqliteStorage::bufferMarkerLineMsgIds(), NetworksSettingsPage::clientIdentityUpdated(), MainWin::clientNetworkUpdated(), PostgreSqlStorage::connectedNetworks(), SqliteStorage::connectedNetworks(), PostgreSqlStorage::createIdentity(), SqliteStorage::createIdentity(), PostgreSqlStorage::createNetwork(), SqliteStorage::createNetwork(), CoreSession::createNetwork(), PostgreSqlStorage::delUser(), SqliteStorage::delUser(), MainWin::disconnectedFromCore(), NetworksSettingsPage::displayNetwork(), BufferViewFilter::filterAcceptBuffer(), BufferHotListFilter::filterAcceptsRow(), BufferViewOverlayFilter::filterAcceptsRow(), MessageFilter::filterAcceptsRow(), ChatMonitorFilter::filterAcceptsRow(), PostgreSqlStorage::getBufferInfo(), SqliteStorage::getBufferInfo(), SqliteStorage::getUserId(), PostgreSqlStorage::getUserSetting(), SqliteStorage::getUserSetting(), CoreAuthHandler::handle(), PostgreSqlStorage::identities(), SqliteStorage::identities(), SqliteStorage::internalUser(), CoreAccountSettings::knownAccounts(), MainWin::loadLayout(), PostgreSqlStorage::logMessage(), SqliteStorage::logMessage(), PostgreSqlStorage::logMessages(), SqliteStorage::logMessages(), PostgreSqlStorage::mergeBuffersPermanently(), SqliteStorage::mergeBuffersPermanently(), NetworkModel::mimeDataToBufferList(), PostgreSqlStorage::networks(), SqliteStorage::networks(), IdentitiesSettingsPage::on_addIdentity_clicked(), operator<<(), PostgreSqlStorage::persistentChannels(), SqliteStorage::persistentChannels(), SqliteMigrationReader::readMo(), PostgreSqlStorage::removeBuffer(), SqliteStorage::removeBuffer(), PostgreSqlStorage::removeIdentity(), SqliteStorage::removeIdentity(), IdentitiesSettingsPage::removeIdentity(), PostgreSqlStorage::removeNetwork(), SqliteStorage::removeNetwork(), PostgreSqlStorage::renameBuffer(), SqliteStorage::renameBuffer(), IdentitiesSettingsPage::renameIdentity(), PostgreSqlStorage::renameUser(), SqliteStorage::renameUser(), PostgreSqlStorage::requestAllMsgs(), SqliteStorage::requestAllMsgs(), PostgreSqlStorage::requestBufferIdsForNetwork(), SqliteStorage::requestBufferIdsForNetwork(), PostgreSqlStorage::requestBuffers(), SqliteStorage::requestBuffers(), PostgreSqlStorage::requestMsgs(), SqliteStorage::requestMsgs(), IdentitiesSettingsPage::save(), MainWin::saveLayout(), MainWin::saveStateToSettings(), CoreAccountSettings::setAutoConnectAccount(), PostgreSqlStorage::setAwayMessage(), SqliteStorage::setAwayMessage(), PostgreSqlStorage::setBufferLastSeenMsg(), SqliteStorage::setBufferLastSeenMsg(), PostgreSqlStorage::setBufferMarkerLineMsg(), SqliteStorage::setBufferMarkerLineMsg(), PostgreSqlStorage::setChannelPersistent(), SqliteStorage::setChannelPersistent(), CoreAccountSettings::setLastAccount(), PostgreSqlStorage::setNetworkConnected(), SqliteStorage::setNetworkConnected(), PostgreSqlStorage::setPersistentChannelKey(), SqliteStorage::setPersistentChannelKey(), PostgreSqlStorage::setUserModes(), SqliteStorage::setUserModes(), PostgreSqlStorage::setUserSetting(), SqliteStorage::setUserSetting(), CoreUserSettings::storeIdentity(), NetworkEvent::toVariantMap(), CoreAccount::toVariantMap(), DebugBufferViewOverlay::update(), PostgreSqlStorage::updateIdentity(), SqliteStorage::updateIdentity(), PostgreSqlStorage::updateNetwork(), SqliteStorage::updateNetwork(), PostgreSqlStorage::updateUser(), SqliteStorage::updateUser(), PostgreSqlStorage::userModes(), SqliteStorage::userModes(), SqliteStorage::validateUser(), and PostgreSqlMigrationWriter::writeMo().

bool isValid ( ) const
inlineinherited

Definition at line 40 of file types.h.

Referenced by ContextMenuActionProvider::addActions(), ContextMenuActionProvider::addIrcUserActions(), ContextMenuActionProvider::addNetworkItemActions(), SqliteStorage::addUser(), BufferViewOverlay::addView(), SqliteStorage::bindNetworkInfo(), PostgreSqlStorage::bindNetworkInfo(), QtUi::bufferMarkedAsRead(), TabCompleter::buildCompletionList(), CoreSession::changePassword(), Core::changeUserPass(), Core::changeUserPassword(), QtUi::closeNotifications(), CoreConnection::connectToCore(), CoreAccountEditDlg::CoreAccountEditDlg(), CoreConnectDlg::CoreConnectDlg(), PostgreSqlStorage::createIdentity(), SqliteStorage::createIdentity(), PostgreSqlStorage::createNetwork(), CoreSession::createNetwork(), Core::createNetwork(), CoreAccountModel::createOrUpdateAccount(), Core::createUser(), MainWin::currentBufferChanged(), BufferWidget::currentChanged(), ChatMonitorFilter::data(), MainWin::disconnectedFromCore(), MainWin::event(), BufferViewFilter::filterAcceptBuffer(), AwayLogFilter::filterAcceptsRow(), BufferHotListFilter::filterAcceptsRow(), BufferViewOverlayFilter::filterAcceptsRow(), MessageFilter::filterAcceptsRow(), FilteredCoreAccountModel::filterAcceptsRow(), BufferViewOverlay::filterBuffersByConfig(), NetworkModelController::findQueryBuffer(), IrcConnectionWizard::finishClicked(), NetworkModelController::handleGeneralAction(), NetworkModelController::handleHideAction(), NetworkModelController::handleNickAction(), CoreAccountModel::insertAccount(), ChatScene::isSingleBufferScene(), CoreAccount::isValid(), Identity::isValid(), Message::isValid(), NetworkModelController::JoinDlg::JoinDlg(), ChatScene::jumpToMarkerLine(), CoreAccountSettings::knownAccounts(), PostgreSqlStorage::logMessage(), SqliteStorage::logMessage(), ChatMonitorView::mouseDoubleClickEvent(), QtUi::notificationActivated(), BufferView::on_configChanged(), MainWin::onJumpKey(), GlobalUnreadBacklogRequester::requestInitialBacklog(), MainWin::saveStateToSettings(), BufferViewFilter::setCheckedState(), AbstractBufferContainer::setCurrentBuffer(), BufferSyncer::setLastSeenMsg(), BufferWidget::setMarkerLine(), BufferSyncer::setMarkerLine(), ChatScene::setMarkerLine(), BufferView::setRootIndexForNetworkId(), CoreAccountSettingsPage::setWidgetStates(), MainWin::showChannelList(), MainWin::showCoreConnectionDlg(), NickView::startQuery(), CoreBufferSyncer::storeDirtyIds(), ClientUserInputHandler::switchBuffer(), BufferModel::switchToOrJoinBuffer(), and BufferItem::updateActivityLevel().

bool operator== ( const SignedId other) const
inlineinherited

Definition at line 42 of file types.h.

References SignedId::id.

bool operator== ( int  i) const
inlineinherited

Definition at line 48 of file types.h.

bool operator!= ( const SignedId other) const
inlineinherited

Definition at line 43 of file types.h.

References SignedId::id.

bool operator!= ( int  i) const
inlineinherited

Definition at line 49 of file types.h.

bool operator< ( const SignedId other) const
inlineinherited

Definition at line 44 of file types.h.

References SignedId::id.

bool operator< ( int  i) const
inlineinherited

Definition at line 50 of file types.h.

bool operator<= ( const SignedId other) const
inlineinherited

Definition at line 45 of file types.h.

References SignedId::id.

bool operator<= ( int  i) const
inlineinherited

Definition at line 52 of file types.h.

bool operator> ( const SignedId other) const
inlineinherited

Definition at line 46 of file types.h.

References SignedId::id.

bool operator> ( int  i) const
inlineinherited

Definition at line 51 of file types.h.

bool operator>= ( const SignedId other) const
inlineinherited

Definition at line 47 of file types.h.

References SignedId::id.

SignedId operator++ ( int  )
inlineinherited

Definition at line 54 of file types.h.

Member Data Documentation


The documentation for this struct was generated from the following file: