Messagelib

kwindowpositioner.h
1/*
2 This file is part of KDE.
3
4 SPDX-FileCopyrightText: 2005 Cornelius Schumacher <schumacher@kde.org>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7*/
8#pragma once
9
10#include <QWidget>
11
12namespace MessageComposer
13{
14class KWindowPositioner : public QObject
15{
17public:
18 enum Mode {
19 Right,
20 Bottom,
21 };
22
23 KWindowPositioner(QWidget *master, QWidget *slave, Mode mode = Bottom);
24
25 void reposition();
26
27private:
28 QWidget *const mMaster;
29 QWidget *const mSlave;
30
31 const Mode mMode = Bottom;
32};
33}
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.