summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorHong Jen Yee (PCMan)2016-08-31 19:58:34 +0200
committerHong Jen Yee (PCMan)2016-08-31 19:58:34 +0200
commit395c6d55c88d0ccaffaabb9dffaa72a2f41f25fe (patch)
treee5a5609a4381f5e1f2b4796725d5ae54ca40ffb0 /src/mainwindow.h
parentMake all source code compile with Qt5. (diff)
downloadpavucontrol-slx-395c6d55c88d0ccaffaabb9dffaa72a2f41f25fe.tar.gz
pavucontrol-slx-395c6d55c88d0ccaffaabb9dffaa72a2f41f25fe.tar.xz
pavucontrol-slx-395c6d55c88d0ccaffaabb9dffaa72a2f41f25fe.zip
Porting to Qt 5 - Finish the basic UI.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index df949ec..fe67de6 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -66,13 +66,7 @@ public:
void removeAllWidgets();
void setConnectingMessage(const char *string = NULL);
-#if 0
- Gtk::Notebook *notebook;
- Gtk::VBox *streamsVBox, *recsVBox, *sinksVBox, *sourcesVBox, *cardsVBox;
- Gtk::Label *noStreamsLabel, *noRecsLabel, *noSinksLabel, *noSourcesLabel, *noCardsLabel, *connectingLabel;
- Gtk::ComboBox *sinkInputTypeComboBox, *sourceOutputTypeComboBox, *sinkTypeComboBox, *sourceTypeComboBox;
- Gtk::CheckButton *showVolumeMetersCheckButton;
-#endif
+
std::map<uint32_t, CardWidget*> cardWidgets;
std::map<uint32_t, SinkWidget*> sinkWidgets;
std::map<uint32_t, SourceWidget*> sourceWidgets;
@@ -99,7 +93,7 @@ public:
pa_stream* createMonitorStreamForSource(uint32_t source_idx, uint32_t stream_idx, bool suspend);
void createMonitorStreamForSinkInput(SinkInputWidget* w, uint32_t sink_idx);
- // void setIconFromProplist(Gtk::Image *icon, pa_proplist *l, const char *name);
+ void setIconFromProplist(QLabel *icon, pa_proplist *l, const char *name);
RoleWidget *eventRoleWidget;