summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorHong Jen Yee (PCMan)2016-08-30 21:16:46 +0200
committerHong Jen Yee (PCMan)2016-08-30 21:16:46 +0200
commitc072bdbaf2b415520029eb54a1d6cbc430a01bbc (patch)
tree83f7831a5063c7af49362fc6761ee4d490aefe92 /src/mainwindow.h
parentStart working on a Qt5 port. (diff)
downloadpavucontrol-slx-c072bdbaf2b415520029eb54a1d6cbc430a01bbc.tar.gz
pavucontrol-slx-c072bdbaf2b415520029eb54a1d6cbc430a01bbc.tar.xz
pavucontrol-slx-c072bdbaf2b415520029eb54a1d6cbc430a01bbc.zip
Port the sound card configuration page to Qt.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 1fb8858..5088993 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -87,12 +87,14 @@ public:
SourceOutputType showSourceOutputType;
SourceType showSourceType;
- virtual void onSinkInputTypeComboBoxChanged();
- virtual void onSourceOutputTypeComboBoxChanged();
- virtual void onSinkTypeComboBoxChanged();
- virtual void onSourceTypeComboBoxChanged();
- virtual void onShowVolumeMetersCheckButtonToggled();
+protected Q_SLOTS:
+ virtual void onSinkInputTypeComboBoxChanged(int index);
+ virtual void onSourceOutputTypeComboBoxChanged(int index);
+ virtual void onSinkTypeComboBoxChanged(int index);
+ virtual void onSourceTypeComboBoxChanged(int index);
+ virtual void onShowVolumeMetersCheckButtonToggled(bool toggled);
+public:
void setConnectionState(gboolean connected);
void updateDeviceVisibility();
void reallyUpdateDeviceVisibility();