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()
connect(dialog, &KMahjonggConfigDialog::settingsChanged, m_board, &Board::loadSettings);
dialog->show();
}
}
} // namespace KShisen
// vim: expandtab:tabstop=4:shiftwidth=4
// kate: space-indent on; indent-width 4
......@@ -145,7 +145,7 @@ private:
std::unique_ptr<QLabel> m_gameCheatLabel; ///< Status bar area for the cheat mode
Board * m_board; ///< Holds the game board
};
}
} // namespace KShisen
#endif // KSHISEN_APP_H
......
......@@ -1966,7 +1966,7 @@ bool Board::isValidPosWithOutline(TilePos const & tilePos) const
&& tilePos.x() <= xTiles()
&& tilePos.y() <= yTiles();
}
}
} // namespace KShisen
// vim: expandtab:tabstop=4:shiftwidth=4
// kate: space-indent on; indent-width 4
......@@ -334,7 +334,7 @@ private:
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
};
}
} // namespace KShisen
#endif // KSHISEN_BOARD_H
......
......@@ -39,7 +39,8 @@
namespace KShisen
{
Q_LOGGING_CATEGORY(KSHISEN_General, "kshisen")
}
} // namespace KShisen
static constexpr char description[] = I18N_NOOP("A KDE game similar to Mahjongg");
int main(int argc, char ** argv)
......
......@@ -118,7 +118,7 @@ void Move::swapTiles()
std::swap(m_tilePos1, m_tilePos2);
std::swap(m_tile1, m_tile2);
}
}
} // namespace KShisen
// vim: expandtab:tabstop=4:shiftwidth=4
// kate: space-indent on; indent-width 4
......@@ -62,7 +62,7 @@ private:
bool m_hasSlide; ///< if we performed a slide during the move
Slide m_slide; ///< original x coordinate of the last slided tile
};
}
} // namespace KShisen
#endif // KSHISEN_MOVE_H
......
......@@ -100,7 +100,7 @@ void PossibleMove::prependTile(TilePos const tilePos)
{
m_path.prepend(tilePos);
}
}
} // namespace KShisen
// vim: expandtab:tabstop=4:shiftwidth=4
// kate: space-indent on; indent-width 4
......@@ -51,7 +51,7 @@ private:
bool m_hasSlide; ///< flag set if the move requires a slide
Slide m_slide; ///< representing the movement of the last sliding tile
};
}
} // namespace KShisen
#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