]> git.cworth.org Git - apitrace/blobdiff - gui/argumentseditor.h
Allow to specify an initial call no in the qapitrace command line.
[apitrace] / gui / argumentseditor.h
index e6b3d8fd65f01043ad5072787d0a622a18a90d44..68b7d1fb241fc5180b940c8e8ab21052d63963a8 100644 (file)
@@ -25,8 +25,8 @@ class ArgumentsItemEditorFactory : public QItemEditorFactory
 {
 public:
     ArgumentsItemEditorFactory();
-    QWidget *createEditor(QVariant::Type type, QWidget *parent) const;
-    QByteArray valuePropertyName(QVariant::Type) const;
+    QWidget *createEditor(QMetaType::Type type, QWidget *parent) const;
+    QByteArray valuePropertyName(QMetaType::Type) const;
 };
 
 class ArgumentsEditor : public QDialog
@@ -49,7 +49,7 @@ private slots:
 private:
     void init();
     void setupCall();
-    void setupShaderEditor(const QList<QVariant> &sources);
+    void setupShaderEditor(const QVector<QVariant> &sources);
     QVariant valueForName(const QString &name,
                           const QVariant &orignalValue,
                           bool *changed) const;