BiblioteQ

Static Public Member Functions | Static Public Attributes | List of all members
biblioteq_misc_functions Class Reference

## Static Public Member Functions
static QImage | getImage (const QString &, const QString &, const QString &, const QSqlDatabase &)
static QList< QPair< QString, QString > > | getLocations (const QSqlDatabase &, QString &)
static QList< int > | selectedRows (QTableWidget *)
static QMap< QString, qint64 > | getItemsReservedCounts (const QSqlDatabase &, const QString &, QString &)
static QString | accessionNumberAsSpecialText (const qint64 integer)
static QString | categories (QHash< QString, QString > &hash, const QSqlDatabase &db, const QString &id)
static QString | getAbstractInfo (const QString &, const QString &, const QSqlDatabase &)
static QString | getAvailability (const QString &, const QSqlDatabase &, const QString &, QString &)
static QString | getColumnString (const QTableWidget *, const int, const QString &)
static QString | getColumnString (const QTableWidget *, const int, const int)
static QString | getMemberName (const QSqlDatabase &, const QString &, QString &)
static QString | getNextCopy (QString &field, bool &ok, const QSqlDatabase &db, const QString &id, const QString &type)
static QString | getOID (const QString &, const QString &, const QSqlDatabase &, QString &)
static QString | getRoles (const QSqlDatabase &, const QString &, QString &)
static QString | getTotalReserved (const QSqlDatabase &, const QString &, const QString &)
static QString | imageFormatGuess (const QByteArray &bytes)
static QString | isbn10to13 (const QString &text)
static QString | isbn13to10 (const QString &text)
static QString | linearizeString (const QString &text)
static QStringList | getBookBindingTypes (const QSqlDatabase &, QString &)
static QStringList | getBookConditions (const QSqlDatabase &, QString &)
static QStringList | getBookOriginality (const QSqlDatabase &, QString &)
static QStringList | getBookTargetAudiences (const QSqlDatabase &, QString &)
static QStringList | getCDFormats (const QSqlDatabase &, QString &)
static QStringList | getDVDAspectRatios (const QSqlDatabase &, QString &)
static QStringList | getDVDRatings (const QSqlDatabase &, QString &)
static QStringList | getDVDRegions (const QSqlDatabase &, QString &)
static QStringList | getGreyLiteratureTypes (const QSqlDatabase &db, QString &errorstr)
static QStringList | getLanguages (const QSqlDatabase &, QString &)
static QStringList | getLocations (const QSqlDatabase &, const QString &, QString &)
static QStringList | getMinimumDays (const QSqlDatabase &, QString &)
static QStringList | getMonetaryUnits (const QSqlDatabase &, QString &)
static QStringList | getReservedItems (const QString &, const QSqlDatabase &, QString &)
static QStringList | getVideoGamePlatforms (const QSqlDatabase &, QString &)
static QStringList | getVideoGameRatings (const QSqlDatabase &, QString &)
static bool | dnt (const QSqlDatabase &, const QString &, QString &)
static bool | getMemberMatch (const QString &, const QString &, const QSqlDatabase &, QString &)
static bool | hasMemberExpired (const QSqlDatabase &, const QString &, QString &)
static bool | hasUnaccentExtension (const QSqlDatabase &)
static bool | isBookRead (const QSqlDatabase &db, const quint64 myoid)
static bool | isCheckedOut (const QSqlDatabase &, const QString &, const QString &, QString &)
static bool | isCopyAvailable (const QSqlDatabase &, const QString &, const QString &, const QString &, QString &)
static bool | isCopyCheckedOut (const QSqlDatabase &, const QString &, const QString &, const QString &, QString &)
static bool | isGnome (void)
static bool | isItemAvailable (QString &error, const QSqlDatabase &db, const QString &id, const QString &copyId, const QString &t, const bool emptyCopyIdAllowed=false)
static bool | isRequested (const QSqlDatabase &, const QString &, const QString &, QString &)
static bool | userExists (const QString &, const QSqlDatabase &, QString &)
static int | getColumnNumber (const QTableWidget *, const QString &)
static int | getCopyNumber (const QSqlDatabase &db, const QString &copyId, const QString &itemOid, const QString &itemTypeArg, QString &errorstr)
static int | getMaxCopyNumber (const QSqlDatabase &, const QString &, const QString &, QString &)
static int | getMinimumDays (const QSqlDatabase &, const QString &, QString &)
static int | maximumReserved (const QSqlDatabase &, const QString &, const QString &)
static int | quantity (const QSqlDatabase &db, const QString &oid, const QString &t)
static int | sqliteQuerySize (const QString &, const QVariantList &, const QSqlDatabase &, const char *, const int, biblioteq *)
static int | sqliteQuerySize (const QString &, const QSqlDatabase &, const char *, const int, biblioteq *)
static qint64 | bookAccessionNumber (const QSqlDatabase &)
static qint64 | getSqliteUniqueId (const QSqlDatabase &, QString &)
static void | DBAccount (const QString &, const QSqlDatabase &, const int, QString &, const QString &="")
static void | center (QWidget *, QMainWindow *)
static void | createBookCopy (const QString &idArg, const int copyNumber, const QSqlDatabase &db, QString &errorstr)
static void | createInitialCopies (QString const &, const int, const QSqlDatabase &, const QString &, QString &)
static void | exportPhotographs (const QSqlDatabase &, const QString &, const QString &, const QList< QGraphicsItem * > &, QWidget *)
static void | exportPhotographs (const QSqlDatabase &, const QString &, const int, const int, const QString &, QWidget *)
static void | grantPrivs (const QString &, const QString &, const QSqlDatabase &, QString &)
static void | hideAdminFields (QMainWindow *, const QString &)
static void | highlightWidget (QWidget *, const QColor &)
static void | revokeAll (const QString &, const QSqlDatabase &, QString &)
static void | savePassword (const QString &, const QSqlDatabase &, const QString &, QString &)
static void | saveQuantity (const QSqlDatabase &, const QString &, const int, const QString &, QString &)
static void | setBookRead (const QSqlDatabase &, const bool, const quint64)
static void | setRole (const QSqlDatabase &, QString &, const QString &)
static void | sortCombinationBox (QComboBox *comboBox)
static void | updateColumn (QTableWidget *, const int, const int, const QString &)
static void | updateColumnColor (QTableWidget *, const int, const int, const QColor &)

## Static Public Attributes
static const int | CREATE_USER = 100
static const int | DELETE_USER = 200
static const int | UPDATE_USER = 300

The documentation for this class was generated from the following files:

- Source/biblioteq_misc_functions.h
- Source/biblioteq_misc_functions.cc