Skip to content

Commit

Permalink
Small header file cleaups
Browse files Browse the repository at this point in the history
  • Loading branch information
alex1701c committed Apr 21, 2024
1 parent def957f commit 2935538
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/config/emojirunner_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#define EmojiRunnerCONFIG_H

#include "ui_emojirunner_config.h"
#include "ui_emojirunner_popup.h"
#include <KCModule>
#include <KConfigGroup>
#include <core/EmojiCategory.h>
Expand Down
13 changes: 5 additions & 8 deletions src/config/emojirunner_popup.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,21 @@
class EmojiRunnerPopup : public QDialog, public Ui::Dialog
{
Q_OBJECT
Emoji emoji;
// Index of item that gets changes/created
int idx;

public:
explicit EmojiRunnerPopup(QWidget *parent, Emoji emoji = {}, int idx = -1);

void setDataOfEmoji();

public Q_SLOTS:

void writeDataToEmoji();

void validateButtonBox();

Q_SIGNALS:

void finished(Emoji &, int);

private:
Emoji emoji;
// Index of item that gets changes/created
int idx;
};

#endif // EMOJIRUNNER_EMOJIRUNNER_POPUP_H

0 comments on commit 2935538

Please sign in to comment.