File indexing completed on 2024-04-28 15:39:41

0001 /* SPDX-FileCopyrightText: 2014 Jesper K. Pedersen <blackie@kde.org>
0002 
0003    SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef REMOTECONTROL_POSITIONOBSERVER_H
0007 #define REMOTECONTROL_POSITIONOBSERVER_H
0008 
0009 class QQuickView;
0010 
0011 namespace RemoteControl
0012 {
0013 
0014 class PositionObserver
0015 {
0016 public:
0017     static void setView(QQuickView *view);
0018 
0019     static void setThumbnailOffset(int index);
0020     static int thumbnailOffset();
0021 
0022     static void setCategoryIconViewOffset(int index);
0023     static int categoryIconViewOffset();
0024 
0025     static void setCategoryListViewOffset(int index);
0026     static int categoryListViewOffset();
0027 };
0028 
0029 } // namespace RemoteControl
0030 
0031 #endif // REMOTECONTROL_POSITIONOBSERVER_H