Code cleanups

on behalf of Lebedev, see issue 1355
This commit is contained in:
Oliver Duis
2012-05-06 22:10:37 +02:00
parent 686188d6bb
commit 1483ecb47c
125 changed files with 750 additions and 747 deletions

View File

@@ -141,7 +141,7 @@ void CropHandler::setWSize (int w, int h) {
update ();
}
void CropHandler::getWSize (int& w, int &h) {
void CropHandler::getWSize (int& w, int &h) const {
w = ww;
h = wh;
@@ -157,7 +157,7 @@ void CropHandler::setPosition (int x, int y, bool update_) {
update ();
}
void CropHandler::getPosition (int& x, int& y) {
void CropHandler::getPosition (int& x, int& y) const {
x = cropX;
y = cropY;
@@ -322,12 +322,12 @@ void CropHandler::setEnabled (bool e) {
update ();
}
bool CropHandler::getEnabled () {
bool CropHandler::getEnabled () const {
return enabled;
}
void CropHandler::getSize (int& w, int& h) {
void CropHandler::getSize (int& w, int& h) const {
w = cropW;
h = cropH;