LeechCraft 0.6.70-19424-g027e980fd1
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
sessionprops.h
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#pragma once
10
11#include "xpcconfig.h"
13
14class QObject;
15
16namespace LC::Util
17{
24 UTIL_XPC_API bool IsSessionProp (const QByteArray& name);
25
31
38 UTIL_XPC_API void SetSessionProps (QObject& tab, const DynPropertiesList_t& props);
39}
DynPropertiesList_t GetSessionProps(const QObject &tab)
Returns the dynamic properties of tab that a tab session keeps.
bool IsSessionProp(const QByteArray &name)
Checks whether a tab session keeps the dynamic property name.
void SetSessionProps(QObject &tab, const DynPropertiesList_t &props)
Sets the session properties among props as dynamic properties of tab.
QList< std::pair< QByteArray, QVariant > > DynPropertiesList_t
#define UTIL_XPC_API
Definition xpcconfig.h:16