]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/exportmenu.hpp
Update property widgets before showing device config popup
[pulseview.git] / pv / widgets / exportmenu.hpp
index e3b1f230295ab8dd9995bdb99a2c66994bb2b104..f3f104ddc2151eff445def182c8bcb0673cd45ba 100644 (file)
@@ -14,8 +14,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef PULSEVIEW_PV_WIDGETS_EXPORTMENU_HPP
@@ -26,6 +25,9 @@
 #include <QMenu>
 #include <QSignalMapper>
 
+using std::shared_ptr;
+using std::vector;
+
 namespace sigrok {
 class Context;
 class OutputFormat;
@@ -39,21 +41,21 @@ class ExportMenu : public QMenu
        Q_OBJECT;
 
 public:
-       ExportMenu(QWidget *parent, std::shared_ptr<sigrok::Context> context,
-               std::vector<QAction *>open_actions = std::vector<QAction *>());
+       ExportMenu(QWidget *parent, shared_ptr<sigrok::Context> context,
+               vector<QAction *>open_actions = vector<QAction *>());
 
 private Q_SLOTS:
        void on_action(QObject *action);
 
 Q_SIGNALS:
-       void format_selected(std::shared_ptr<sigrok::OutputFormat> format);
+       void format_selected(shared_ptr<sigrok::OutputFormat> format);
 
 private:
-       std::shared_ptr<sigrok::Context> context_;
+       shared_ptr<sigrok::Context> context_;
        QSignalMapper mapper_;
 };
 
-} // widgets
-} // pv
+}  // namespace widgets
+}  // namespace pv
 
 #endif // PULSEVIEW_PV_WIDGETS_EXPORTMENU_HPP