File indexing completed on 2024-05-05 04:39:24
0001 /* 0002 SPDX-FileCopyrightText: 2016 René J.V. Bertin <rjvbertin@gmail.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef CMAKEEXTRAARGUMENTS_H 0008 #define CMAKEEXTRAARGUMENTS_H 0009 0010 #include <KComboBox> 0011 0012 #include "cmakecommonexport.h" 0013 0014 class QStringList; 0015 0016 namespace Ui { 0017 class CMakeExtraArgumentsHistory; 0018 } 0019 0020 /** 0021 * This class augments CMake's extra arguments widget with a history feature. 0022 * @author René Bertin 0023 */ 0024 class KDEVCMAKECOMMON_EXPORT CMakeExtraArgumentsHistory 0025 { 0026 public: 0027 explicit CMakeExtraArgumentsHistory(KComboBox* widget); 0028 ~CMakeExtraArgumentsHistory(); 0029 0030 QStringList list() const; 0031 0032 private: 0033 Q_DISABLE_COPY(CMakeExtraArgumentsHistory) 0034 0035 KComboBox* m_arguments; 0036 }; 0037 0038 #endif