LeechCraft 0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
closingdb.cpp
Go to the documentation of this file.
1/**********************************************************************
2 * LeechCraft - modular cross-platform feature rich internet client.
3 * Copyright (C) 2006-2014 Georg Rudoy
4 *
5 * Distributed under the Boost Software License, Version 1.0.
6 * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7 **********************************************************************/
8
9#include "closingdb.h"
10#include <QtDebug>
11
12namespace LC::Util
13{
20
24
25 ClosingDB::operator const QSqlDatabase& () const
26 {
27 return DB_;
28 }
29
30 ClosingDB::operator QSqlDatabase& ()
31 {
32 return DB_;
33 }
34
36 {
37 return &DB_;
38 }
39
41 {
42 return &DB_;
43 }
44}
const QSqlDatabase * operator->() const
Definition closingdb.cpp:35
ClosingDB(const QString &driver, const QString &connName)
Definition closingdb.cpp:14
Container< T > Filter(const Container< T > &c, F f)
Definition prelude.h:118