diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-03-18 21:19:28 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-03-18 21:19:47 +0530 |
| commit | 4c762b2516bc664293c2aec072074f1e34dda8c3 (patch) | |
| tree | ebe441f7af8c1f4c49f04630538312d55f18f63b /src/completion/CommandsAdapter.cpp | |
| parent | 056b0b16947ac19a0c425aa9d2ff8f589378d3bc (diff) | |
| download | null-browser-4c762b2516bc664293c2aec072074f1e34dda8c3.tar.gz null-browser-4c762b2516bc664293c2aec072074f1e34dda8c3.zip | |
Remove all the ui bits because screw it, lets unix a bit more
Diffstat (limited to '')
| -rw-r--r-- | src/completion/CommandsAdapter.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/completion/CommandsAdapter.cpp b/src/completion/CommandsAdapter.cpp deleted file mode 100644 index 020c115..0000000 --- a/src/completion/CommandsAdapter.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include <QWidget> -#include <QtCore> - -#include "completion/CommandsAdapter.hpp" -#include "completion/CommandsModel.hpp" -#include "completion/Completer.hpp" - -const QString cmdPrompt = "[exec]"; - -CommandsAdapter::CommandsAdapter() : Adapter() { - completerInstance = new Completer(); - completerInstance->setSourceModel(new CommandsModel(this)); -} - -Completer *CommandsAdapter::completer() { return completerInstance; } - -QString CommandsAdapter::prompt() { return cmdPrompt; } - -CommandsAdapter::~CommandsAdapter() { - delete completerInstance->sourceModel(); - delete completerInstance; -} |
