diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2022-05-17 11:47:01 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2023-07-09 17:20:40 +0200 |
| commit | d13f6bb870cdda71257f665367be8ef9fca86255 (patch) | |
| tree | 52e214718478f1e52856572f5aa1a2ac58537f9f /src/envshell.h | |
| parent | 86bb01ba9eac879d3685c439ac9da0028bc4bc80 (diff) | |
Apply clang-format.
Diffstat (limited to 'src/envshell.h')
| -rw-r--r-- | src/envshell.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/envshell.h b/src/envshell.h index f9245a37..f47c58c8 100644 --- a/src/envshell.h +++ b/src/envshell.h @@ -14,10 +14,10 @@ public: ShellMenu(QMainWindow* mw); // noncopyable - ShellMenu(const ShellMenu&) = delete; + ShellMenu(const ShellMenu&) = delete; ShellMenu& operator=(const ShellMenu&) = delete; - ShellMenu(ShellMenu&&) = default; - ShellMenu& operator=(ShellMenu&&) = default; + ShellMenu(ShellMenu&&) = default; + ShellMenu& operator=(ShellMenu&&) = default; void addFile(QFileInfo fi); int fileCount() const; @@ -48,11 +48,9 @@ private: CoTaskMemPtr<LPITEMIDLIST> getIDList(IPersistIDList* pidlist); HMenuPtr createDummyMenu(const QString& what); - void onMenuSelect( - HWND hwnd, HMENU hmenu, int item, HMENU hmenuPopup, UINT flags); + void onMenuSelect(HWND hwnd, HMENU hmenu, int item, HMENU hmenuPopup, UINT flags); }; - class ShellMenuCollection { public: @@ -77,10 +75,9 @@ private: bool wndProc(HWND hwnd, UINT m, WPARAM wp, LPARAM lp, LRESULT* out); - void onMenuSelect( - HWND hwnd, HMENU hmenu, int item, HMENU hmenuPopup, UINT flags); + void onMenuSelect(HWND hwnd, HMENU hmenu, int item, HMENU hmenuPopup, UINT flags); }; -} // namespace +} // namespace env -#endif // ENV_SHELL_H +#endif // ENV_SHELL_H |
