Changeset View
Changeset View
Standalone View
Standalone View
plugins/execute/nativeappconfig.h
Show All 32 Lines | |||||
33 | { | 33 | { | ||
34 | Q_OBJECT | 34 | Q_OBJECT | ||
35 | public: | 35 | public: | ||
36 | explicit NativeAppConfigPage( QWidget* parent ); | 36 | explicit NativeAppConfigPage( QWidget* parent ); | ||
37 | void loadFromConfiguration( const KConfigGroup& cfg, KDevelop::IProject* project = nullptr ) override; | 37 | void loadFromConfiguration( const KConfigGroup& cfg, KDevelop::IProject* project = nullptr ) override; | ||
38 | void saveToConfiguration( KConfigGroup cfg, KDevelop::IProject* project = nullptr ) const override; | 38 | void saveToConfiguration( KConfigGroup cfg, KDevelop::IProject* project = nullptr ) const override; | ||
39 | QString title() const override; | 39 | QString title() const override; | ||
40 | QIcon icon() const override; | 40 | QIcon icon() const override; | ||
41 | private slots: | 41 | private Q_SLOTS: | ||
42 | void activateDeps( int ); | 42 | void activateDeps( int ); | ||
43 | }; | 43 | }; | ||
44 | 44 | | |||
45 | class NativeAppLauncher : public KDevelop::ILauncher | 45 | class NativeAppLauncher : public KDevelop::ILauncher | ||
46 | { | 46 | { | ||
47 | public: | 47 | public: | ||
48 | NativeAppLauncher(); | 48 | NativeAppLauncher(); | ||
49 | QList< KDevelop::LaunchConfigurationPageFactory* > configPages() const override; | 49 | QList< KDevelop::LaunchConfigurationPageFactory* > configPages() const override; | ||
Show All 32 Lines | 72 | public: | |||
82 | void configureLaunchFromItem ( KConfigGroup cfg, | 82 | void configureLaunchFromItem ( KConfigGroup cfg, | ||
83 | KDevelop::ProjectBaseItem* item ) const override; | 83 | KDevelop::ProjectBaseItem* item ) const override; | ||
84 | void configureLaunchFromCmdLineArguments ( KConfigGroup cfg, | 84 | void configureLaunchFromCmdLineArguments ( KConfigGroup cfg, | ||
85 | const QStringList& args ) const override; | 85 | const QStringList& args ) const override; | ||
86 | QMenu* launcherSuggestions() override; | 86 | QMenu* launcherSuggestions() override; | ||
87 | private: | 87 | private: | ||
88 | QList<KDevelop::LaunchConfigurationPageFactory*> factoryList; | 88 | QList<KDevelop::LaunchConfigurationPageFactory*> factoryList; | ||
89 | 89 | | |||
90 | public slots: | 90 | public Q_SLOTS: | ||
91 | void suggestionTriggered(); | 91 | void suggestionTriggered(); | ||
92 | }; | 92 | }; | ||
93 | #endif | 93 | #endif | ||
94 | 94 | |