File indexing completed on 2024-04-28 11:20:42

0001 /*
0002     SPDX-License-Identifier: GPL-2.0-or-later
0003     SPDX-FileCopyrightText: 2011 Filipe Saraiva <filipe@kde.org>
0004 */
0005 
0006 #ifndef _SCILABCOMPLETIONOBJECT_H
0007 #define _SCILABCOMPLETIONOBJECT_H
0008 
0009 #include "completionobject.h"
0010 
0011 class ScilabSession;
0012 
0013 class ScilabCompletionObject : public Cantor::CompletionObject
0014 {
0015     public:
0016         ScilabCompletionObject(const QString& cmd, int index, ScilabSession* session) ;
0017         ~ScilabCompletionObject() override = default;
0018 
0019     protected:
0020         bool mayIdentifierContain(QChar c) const override;
0021         bool mayIdentifierBeginWith(QChar c) const override;
0022 
0023     protected Q_SLOTS:
0024         void fetchCompletions() override;
0025         void fetchIdentifierType() override;
0026 };
0027 
0028 #endif /* _SCILABCOMPLETIONOBJECT_H */