From 78ae1511849bf0b6d792eb42582aeccf3b0b4063 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Sun, 10 Jan 2016 11:18:38 +0100 Subject: start collecting useful bits here --- akonadish/utils.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 akonadish/utils.h (limited to 'akonadish/utils.h') diff --git a/akonadish/utils.h b/akonadish/utils.h new file mode 100644 index 0000000..82be8d5 --- /dev/null +++ b/akonadish/utils.h @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2016 Aaron Seigo + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#pragma once + +#include + +namespace Utils +{ + +QStringList filteredCompletions(const QStringList &possibleCompletions, const QString &commandFragment, Qt::CaseSensitivity cs = Qt::CaseSensitive); + +} // namespace Utils + -- cgit v1.2.3