author | simon <simon> | 2002-03-25 19:19:51 (UTC) |
---|---|---|
committer | simon <simon> | 2002-03-25 19:19:51 (UTC) |
commit | 956522a9355051294e12e85e564d8ae1f0b928a3 (patch) (side-by-side diff) | |
tree | 1926e6b270be501ed9fa4d5b89d839666c2c82ba /library/imageedit.cpp | |
parent | 7c0676ba302dc1cfa4348423544ea2d66417c1bd (diff) | |
download | opie-956522a9355051294e12e85e564d8ae1f0b928a3.zip opie-956522a9355051294e12e85e564d8ae1f0b928a3.tar.gz opie-956522a9355051294e12e85e564d8ae1f0b928a3.tar.bz2 |
- no default arguments in method implementations
-rw-r--r-- | library/imageedit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/imageedit.cpp b/library/imageedit.cpp index 7f98ebb..0c22448 100644 --- a/library/imageedit.cpp +++ b/library/imageedit.cpp @@ -7,33 +7,33 @@ ** GNU General Public License version 2 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** ** See http://www.trolltech.com/gpl/ for GPL licensing information. ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include "imageedit.h" #include <qpainter.h> -ImageEdit::ImageEdit( QWidget *parent = 0, const char *name = 0 ) +ImageEdit::ImageEdit( QWidget *parent, const char *name ) : QScrollView( parent, name, WNorthWestGravity | WResizeNoErase ), buffer() { buffer.resize( size() ); buffer.fill( colorGroup().color( QColorGroup::Base ) ); } ImageEdit::~ImageEdit() { } void ImageEdit::contentsMousePressEvent( QMouseEvent *e ) { lastPos = e->pos(); } |