summaryrefslogtreecommitdiff
path: root/wpa_supplicant/wpa_gui-qt4/stringquery.cpp
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2013-06-25 02:29:08 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2013-06-25 02:29:08 +0000
commit19f9885f6aafcd7c3eee4df8a014287d12279851 (patch)
treee2123ea3a2a44f34c23cb9e0142aed35cfffa07c /wpa_supplicant/wpa_gui-qt4/stringquery.cpp
parent1160bdd6bafa88241c96ca414ac9bb378f30608b (diff)
Notes
Diffstat (limited to 'wpa_supplicant/wpa_gui-qt4/stringquery.cpp')
-rw-r--r--wpa_supplicant/wpa_gui-qt4/stringquery.cpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/wpa_supplicant/wpa_gui-qt4/stringquery.cpp b/wpa_supplicant/wpa_gui-qt4/stringquery.cpp
deleted file mode 100644
index 1ca98d9ffaed5..0000000000000
--- a/wpa_supplicant/wpa_gui-qt4/stringquery.cpp
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * wpa_gui - StringQuery class
- * Copyright (c) 2009, Atheros Communications
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * Alternatively, this software may be distributed under the terms of BSD
- * license.
- *
- * See README and COPYING for more details.
- */
-
-#include <cstdio>
-#include <QLabel>
-
-#include "stringquery.h"
-
-
-StringQuery::StringQuery(QString label)
-{
- edit = new QLineEdit;
- edit->setFocus();
- QGridLayout *layout = new QGridLayout;
- layout->addWidget(new QLabel(label), 0, 0);
- layout->addWidget(edit, 0, 1);
- setLayout(layout);
-
- connect(edit, SIGNAL(returnPressed()), this, SLOT(accept()));
-}
-
-
-QString StringQuery::get_string()
-{
- return edit->text();
-}