Debian Codegraph @

src/librssguard/gui/systemtrayicon.h

raw symbols SCIP
1 // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/gui/systemtrayicon.h`/
2
3 #ifndef SYSTEMTRAYICON_H
4 #define SYSTEMTRAYICON_Hcxx . . $ `src/librssguard/gui/systemtrayicon.h:4:9`!
5
6 #include "definitions/definitions.h"cxx . . $ `<file>/src/librssguard/definitions/definitions.h`/
7
8 #include <functional>
9
10 #include <QMenu>
11 #include <QPixmap>
12 #include <QSystemTrayIcon>
13 #include <QTimer>
14
15 class FormMaincxx . . $ FormMain#;
16 class QEventcxx . . $ QEvent#;
17
18 #if defined(Q_OS_WIN)
19
20 class TrayIconMenu : public QMenu {
21 Q_OBJECT
22
23 public:
24 // Constructors and destructors.
25 explicit TrayIconMenu(const QString& title, QWidget* parent);
26
27 protected:
28 bool event(QEvent* event);
29 };
30
31 #endif
32
33 class SystemTrayIconcxx . . $ SystemTrayIcon# : public QSystemTrayIconcxx . . $ QSystemTrayIcon# {
34 Q_OBJECTcxx . . $ SystemTrayIcon#tr(75d9f1c324b4579d).
35
36 public:
37 // Constructors and destructors.
38 explicit SystemTrayIconcxx . . $ SystemTrayIcon#SystemTrayIcon(ec5011742eb0b5cf).(const QStringcxx . . $ QString#& normal_icon, const QStringcxx . . $ QString#& plain_icon, FormMaincxx . . $ FormMain#* parent = nullptr);
39 virtual ~cxx . . $ SystemTrayIcon#`~SystemTrayIcon`(ced63f7c635d850d).SystemTrayIconcxx . . $ SystemTrayIcon#();
40
41 // Sets the number to be visible in the tray icon, number <= 0 removes it.
42 void setNumbercxx . . $ SystemTrayIcon#setNumber(918ebd27a9ddbad3).(int number = -1, bool any_feed_has_new_unread_messages = false);
43
44 void showMessagecxx . . $ SystemTrayIcon#showMessage(5a7ad92df912dbeb).(const QStringcxx . . $ QString#& title,
45 const QStringcxx . . $ QString#& message,
46 MessageIconcxx . . $ QSystemTrayIcon#MessageIcon# icon = Informationcxx . . $ QSystemTrayIcon#Information.,
47 int milliseconds_timeout_hint = TRAY_ICON_BUBBLE_TIMEOUTcxx . . $ `src/librssguard/definitions/definitions.h:72:9`!,
48 const stdcxx . . $ std/::functioncxx . . $ std/function#<void()>& functor = nullptrcxx . . $ std/function#function(6d988fd07f070dfc).);
49
50 // Returns true if tray area is available and icon can be displayed.
51 static bool isSystemTrayAreaAvailablecxx . . $ SystemTrayIcon#isSystemTrayAreaAvailable(c9857a73d68e59ba).();
52
53 // Returns true if user wants to have tray icon displayed.
54 static bool isSystemTrayDesiredcxx . . $ SystemTrayIcon#isSystemTrayDesired(c9857a73d68e59ba).();
55
56 public slotscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:42:14`!:
57 void showcxx . . $ SystemTrayIcon#show(49f6e7a06ebc5aa8).();
58
59 private slotscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:42:14`!:
60 void showPrivatecxx . . $ SystemTrayIcon#showPrivate(49f6e7a06ebc5aa8).();
61 void onActivatedcxx . . $ SystemTrayIcon#onActivated(dc7279b31293a212).(QSystemTrayIconcxx . . $ QSystemTrayIcon#::ActivationReasoncxx . . $ QSystemTrayIcon#ActivationReason# reason);
62
63 signalscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:43:14`!:
64 void showncxx . . $ SystemTrayIcon#shown(49f6e7a06ebc5aa8).();
65
66 private:
67 QIconcxx . . $ QIcon# m_normalIconcxx . . $ SystemTrayIcon#m_normalIcon.;
68 QPixmapcxx . . $ QPixmap# m_plainPixmapcxx . . $ SystemTrayIcon#m_plainPixmap.;
69 QFontcxx . . $ QFont# m_fontcxx . . $ SystemTrayIcon#m_font. = QFontcxx . . $ QFont#QFont(49f6e7a06ebc5aa8).();
70 QTimercxx . . $ QTimer# m_tmrDoubleFirecxx . . $ SystemTrayIcon#m_tmrDoubleFire.;
71
72 QMetaObjectcxx . . $ QMetaObject#::Connectioncxx . . $ QMetaObject#Connection# m_connectioncxx . . $ SystemTrayIcon#m_connection.;
73 };
74
75 #endif // SYSTEMTRAYICON_H