summaryrefslogtreecommitdiff
path: root/library
Unidiff
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/categorymenu.cpp2
-rw-r--r--library/imageedit.cpp2
-rw-r--r--library/menubutton.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/library/categorymenu.cpp b/library/categorymenu.cpp
index 52a127c..e733107 100644
--- a/library/categorymenu.cpp
+++ b/library/categorymenu.cpp
@@ -22,13 +22,13 @@
22#include "backend/categories.h" 22#include "backend/categories.h"
23#include "categoryselect.h" 23#include "categoryselect.h"
24#include <qstring.h> 24#include <qstring.h>
25#include <qmap.h> 25#include <qmap.h>
26 26
27CategoryMenu::CategoryMenu( const QString &n, bool ig = TRUE, 27CategoryMenu::CategoryMenu( const QString &n, bool ig = TRUE,
28 QWidget *parent = 0, const char *name = 0 ) : 28 QWidget *parent, const char *name ) :
29 QPopupMenu(parent, name), 29 QPopupMenu(parent, name),
30 appName(n), 30 appName(n),
31 includeGlobal(ig) 31 includeGlobal(ig)
32{ 32{
33 currentMid = 1; 33 currentMid = 1;
34 reload(); 34 reload();
diff --git a/library/imageedit.cpp b/library/imageedit.cpp
index 7f98ebb..0c22448 100644
--- a/library/imageedit.cpp
+++ b/library/imageedit.cpp
@@ -17,13 +17,13 @@
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20#include "imageedit.h" 20#include "imageedit.h"
21#include <qpainter.h> 21#include <qpainter.h>
22 22
23ImageEdit::ImageEdit( QWidget *parent = 0, const char *name = 0 ) 23ImageEdit::ImageEdit( QWidget *parent, const char *name )
24 : QScrollView( parent, name, WNorthWestGravity | WResizeNoErase ), buffer() 24 : QScrollView( parent, name, WNorthWestGravity | WResizeNoErase ), buffer()
25{ 25{
26 buffer.resize( size() ); 26 buffer.resize( size() );
27 buffer.fill( colorGroup().color( QColorGroup::Base ) ); 27 buffer.fill( colorGroup().color( QColorGroup::Base ) );
28} 28}
29 29
diff --git a/library/menubutton.cpp b/library/menubutton.cpp
index c34383a..6b1fa2b 100644
--- a/library/menubutton.cpp
+++ b/library/menubutton.cpp
@@ -98,13 +98,13 @@ void MenuButton::insertItems( const QStringList& items )
98 } 98 }
99} 99}
100 100
101/*! 101/*!
102 Inserts an \a icon and \a text into the menu. 102 Inserts an \a icon and \a text into the menu.
103*/ 103*/
104void MenuButton::insertItem( const QIconSet& icon, const QString& text=QString::null ) 104void MenuButton::insertItem( const QIconSet& icon, const QString& text )
105{ 105{
106 pop->insertItem(icon, text, nitems++); 106 pop->insertItem(icon, text, nitems++);
107 if ( nitems==1 ) select(0); 107 if ( nitems==1 ) select(0);
108} 108}
109 109
110/*! 110/*!