QtPass 1.7.0
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
helpers.h File Reference

Utility macros for QtPass. More...

Go to the source code of this file.

Macros

#define AS_CONST(x)
 Cross-platform const_cast for range-based for loops.

Detailed Description

Utility macros for QtPass.

Definition in file helpers.h.

Macro Definition Documentation

◆ AS_CONST

#define AS_CONST ( x)
Value:
qAsConst(x)

Cross-platform const_cast for range-based for loops.

Provides std::as_const (C++17) or qAsConst (older) for safe iteration over containers that might be modified.

Definition at line 20 of file helpers.h.