Commit f9fea701 authored by Frederik Schwarzer's avatar Frederik Schwarzer
Browse files

Add namespace closing comments.

parent 3c054484
...@@ -392,7 +392,7 @@ void App::showSettingsDialog() ...@@ -392,7 +392,7 @@ void App::showSettingsDialog()
connect(dialog, &KMahjonggConfigDialog::settingsChanged, m_board, &Board::loadSettings); connect(dialog, &KMahjonggConfigDialog::settingsChanged, m_board, &Board::loadSettings);
dialog->show(); dialog->show();
} }
} } // namespace KShisen
// vim: expandtab:tabstop=4:shiftwidth=4 // vim: expandtab:tabstop=4:shiftwidth=4
// kate: space-indent on; indent-width 4 // kate: space-indent on; indent-width 4
...@@ -145,7 +145,7 @@ private: ...@@ -145,7 +145,7 @@ private:
std::unique_ptr<QLabel> m_gameCheatLabel; ///< Status bar area for the cheat mode std::unique_ptr<QLabel> m_gameCheatLabel; ///< Status bar area for the cheat mode
Board * m_board; ///< Holds the game board Board * m_board; ///< Holds the game board
}; };
} } // namespace KShisen
#endif // KSHISEN_APP_H #endif // KSHISEN_APP_H
......
...@@ -1966,7 +1966,7 @@ bool Board::isValidPosWithOutline(TilePos const & tilePos) const ...@@ -1966,7 +1966,7 @@ bool Board::isValidPosWithOutline(TilePos const & tilePos) const
&& tilePos.x() <= xTiles() && tilePos.x() <= xTiles()
&& tilePos.y() <= yTiles(); && tilePos.y() <= yTiles();
} }
} } // namespace KShisen
// vim: expandtab:tabstop=4:shiftwidth=4 // vim: expandtab:tabstop=4:shiftwidth=4
// kate: space-indent on; indent-width 4 // kate: space-indent on; indent-width 4
...@@ -334,7 +334,7 @@ private: ...@@ -334,7 +334,7 @@ private:
KgSound m_soundPick; ///< Sound object to play when tile is selected KgSound m_soundPick; ///< Sound object to play when tile is selected
KgSound m_soundFall; ///< Sound object to play when tiles fall down in gravity mode KgSound m_soundFall; ///< Sound object to play when tiles fall down in gravity mode
}; };
} } // namespace KShisen
#endif // KSHISEN_BOARD_H #endif // KSHISEN_BOARD_H
......
...@@ -39,7 +39,8 @@ ...@@ -39,7 +39,8 @@
namespace KShisen namespace KShisen
{ {
Q_LOGGING_CATEGORY(KSHISEN_General, "kshisen") Q_LOGGING_CATEGORY(KSHISEN_General, "kshisen")
} } // namespace KShisen
static constexpr char description[] = I18N_NOOP("A KDE game similar to Mahjongg"); static constexpr char description[] = I18N_NOOP("A KDE game similar to Mahjongg");
int main(int argc, char ** argv) int main(int argc, char ** argv)
......
...@@ -118,7 +118,7 @@ void Move::swapTiles() ...@@ -118,7 +118,7 @@ void Move::swapTiles()
std::swap(m_tilePos1, m_tilePos2); std::swap(m_tilePos1, m_tilePos2);
std::swap(m_tile1, m_tile2); std::swap(m_tile1, m_tile2);
} }
} } // namespace KShisen
// vim: expandtab:tabstop=4:shiftwidth=4 // vim: expandtab:tabstop=4:shiftwidth=4
// kate: space-indent on; indent-width 4 // kate: space-indent on; indent-width 4
...@@ -62,7 +62,7 @@ private: ...@@ -62,7 +62,7 @@ private:
bool m_hasSlide; ///< if we performed a slide during the move bool m_hasSlide; ///< if we performed a slide during the move
Slide m_slide; ///< original x coordinate of the last slided tile Slide m_slide; ///< original x coordinate of the last slided tile
}; };
} } // namespace KShisen
#endif // KSHISEN_MOVE_H #endif // KSHISEN_MOVE_H
......
...@@ -100,7 +100,7 @@ void PossibleMove::prependTile(TilePos const tilePos) ...@@ -100,7 +100,7 @@ void PossibleMove::prependTile(TilePos const tilePos)
{ {
m_path.prepend(tilePos); m_path.prepend(tilePos);
} }
} } // namespace KShisen
// vim: expandtab:tabstop=4:shiftwidth=4 // vim: expandtab:tabstop=4:shiftwidth=4
// kate: space-indent on; indent-width 4 // kate: space-indent on; indent-width 4
...@@ -51,7 +51,7 @@ private: ...@@ -51,7 +51,7 @@ private:
bool m_hasSlide; ///< flag set if the move requires a slide bool m_hasSlide; ///< flag set if the move requires a slide
Slide m_slide; ///< representing the movement of the last sliding tile Slide m_slide; ///< representing the movement of the last sliding tile
}; };
} } // namespace KShisen
#endif // KSHISEN_POSSIBLEMOVE_H #endif // KSHISEN_POSSIBLEMOVE_H
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment