]> git.siccegge.de Git - frida/frida.git/blobdiff - src/gui/dialogs/RenameFunctionDialog.cxx
Add option to comment on instructions (in GUI)
[frida/frida.git] / src / gui / dialogs / RenameFunctionDialog.cxx
diff --git a/src/gui/dialogs/RenameFunctionDialog.cxx b/src/gui/dialogs/RenameFunctionDialog.cxx
deleted file mode 100644 (file)
index 1cd6ceb..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "RenameFunctionDialog.hxx"
-
-RenameFunctionDialog::RenameFunctionDialog() {
-       QGridLayout * layout = new QGridLayout;
-
-       edit = new QLineEdit;
-       layout->addWidget(edit, 0, 0, 1, 2);
-
-       QPushButton * cancelButton = new QPushButton("Cancel");
-       QPushButton * okButton = new QPushButton("OK");
-       layout->addWidget(okButton, 1, 1, 1, 1);
-       connect(okButton, SIGNAL(clicked()),
-               this, SLOT(accept()));
-       layout->addWidget(cancelButton, 1, 0, 1, 1);
-       connect(cancelButton, SIGNAL(clicked()),
-               this, SLOT(reject()));
-
-       setLayout(layout);
-       setWindowTitle("Add function");
-}
-
-QString RenameFunctionDialog::result() {
-       bool ok;
-       QString result = edit->text();
-       return result;
-}