LeechCraft
0.6.70-19424-g027e980fd1
Modular cross-platform feature rich live environment.
Toggle main menu visibility
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
"
12
#include <
interfaces/ihaverecoverabletabs.h
>
13
14
class
QObject;
15
16
namespace
LC::Util
17
{
24
UTIL_XPC_API
bool
IsSessionProp
(
const
QByteArray& name);
25
30
UTIL_XPC_API
DynPropertiesList_t
GetSessionProps
(
const
QObject& tab);
31
38
UTIL_XPC_API
void
SetSessionProps
(QObject& tab,
const
DynPropertiesList_t
& props);
39
}
ihaverecoverabletabs.h
LC::Util
Definition
icoreproxy.h:34
LC::Util::GetSessionProps
DynPropertiesList_t GetSessionProps(const QObject &tab)
Returns the dynamic properties of tab that a tab session keeps.
Definition
sessionprops.cpp:20
LC::Util::IsSessionProp
bool IsSessionProp(const QByteArray &name)
Checks whether a tab session keeps the dynamic property name.
Definition
sessionprops.cpp:15
LC::Util::SetSessionProps
void SetSessionProps(QObject &tab, const DynPropertiesList_t &props)
Sets the session properties among props as dynamic properties of tab.
Definition
sessionprops.cpp:29
LC::DynPropertiesList_t
QList< std::pair< QByteArray, QVariant > > DynPropertiesList_t
Definition
ihaverecoverabletabs.h:93
xpcconfig.h
UTIL_XPC_API
#define UTIL_XPC_API
Definition
xpcconfig.h:16
src
util
xpc
sessionprops.h
Generated by
1.18.0