File indexing completed on 2024-05-05 11:55:55

0001 /*
0002     SPDX-FileCopyrightText: 2009 Milian Wolff <mail@milianw.de>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef QALCULATE_COMPLETIONOBJECT_H
0008 #define QALCULATE_COMPLETIONOBJECT_H
0009 
0010 #include "completionobject.h"
0011 
0012 class QalculateSession;
0013 
0014 class QalculateCompletionObject : public Cantor::CompletionObject
0015 {
0016     public:
0017         QalculateCompletionObject( const QString& command, int index, QalculateSession* session);
0018         ~QalculateCompletionObject() override = default;
0019 
0020     protected:
0021         int locateIdentifier(const QString& cmd, int index) const override;
0022 
0023     protected Q_SLOTS:
0024         void fetchCompletions() override;
0025         void fetchIdentifierType() override;
0026 };
0027 
0028 #endif /* _NULLCOMPLETIONOBJECT_H */