File indexing completed on 2024-04-21 11:13:53

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