[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeutils/khexedit
From:       Henrique Pinto <tawhaki () gmail ! com>
Date:       2007-08-18 12:45:48
Message-ID: 1187441148.824468.11992.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 701481 by henrique:

 * Include own header first


 M  +1 -3      bitswapwidget.cc  
 M  +1 -3      chartabledialog.cc  
 M  +1 -4      conversion.cc  
 M  +3 -3      converterdialog.cc  
 M  +1 -1      dialog.cc  
 M  +2 -2      draglabel.cc  
 M  +2 -2      draglabel.h  
 M  +2 -1      exportdialog.cc  
 M  +2 -3      fileinfodialog.cc  
 M  +3 -3      hexbuffer.cc  
 M  +1 -1      hexclipboard.cc  
 M  +1 -2      hexerror.cc  
 M  +2 -0      hexerror.h  
 M  +2 -2      hexmanagerwidget.cc  
 M  +1 -1      hextoolwidget.cc  
 M  +1 -1      hexvalidator.cc  
 M  +4 -4      hexviewwidget.cc  
 M  +1 -4      listview.cc  
 M  +1 -1      optiondialog.cc  
 M  +2 -2      printdialogpage.cc  
 M  +3 -4      searchbar.cc  
 M  +5 -7      stringdialog.cc  
 M  +3 -3      stringdialog.h  
 M  +5 -6      toplevel.cc  


--- trunk/KDE/kdeutils/khexedit/bitswapwidget.cc #701480:701481
@@ -18,12 +18,10 @@
  *
  */
 
+#include "bitswapwidget.h"
 #include <qpainter.h>
-
 #include <kglobalsettings.h>
 
-#include "bitswapwidget.h"
-
 CDigitLabel::CDigitLabel( QWidget *parent, uint digit )
   :QLabel(parent), mDigit( digit ), mDotPosition( 0 )
 {
--- trunk/KDE/kdeutils/khexedit/chartabledialog.cc #701480:701481
@@ -17,6 +17,7 @@
  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
+#include "chartabledialog.h"
 
 #include <limits.h>
 
@@ -29,9 +30,6 @@
 #include <klocale.h>
 #include <KStandardGuiItem>
 
-#include "chartabledialog.h"
-
-
 CCharTableDialog::CCharTableDialog( QWidget *parent, const char *name,
 				    bool modal )
     :KDialog( parent )
--- trunk/KDE/kdeutils/khexedit/conversion.cc #701480:701481
@@ -18,13 +18,10 @@
  *
  */
 
+#include "conversion.h"
 #include <string.h>
-
 #include <klocale.h>
 
-#include "conversion.h"
-
-
 CConversion::CConversion( void )
 {
   setMode( cnvDefault );
--- trunk/KDE/kdeutils/khexedit/converterdialog.cc #701480:701481
@@ -18,14 +18,14 @@
  *
  */
 
+#include "converterdialog.h"
+#include "hexvalidator.h"
 
 #include <QLabel>
 #include <QLayout>
 
-#include <klocale.h>
+#include <KLocale>
 #include <KStandardGuiItem>
-#include "converterdialog.h"
-#include "hexvalidator.h"
 
 
 CValidateLineEdit::CValidateLineEdit( QWidget *parent, int validateType )
--- trunk/KDE/kdeutils/khexedit/dialog.cc #701480:701481
@@ -17,6 +17,7 @@
  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
+#include "dialog.h"
 
 #include <ctype.h>
 #include <iostream>
@@ -34,7 +35,6 @@
 #include <kseparator.h>
 #include <KStandardGuiItem>
 
-#include "dialog.h"
 #include <QPushButton>
 #include <kglobal.h>
 
--- trunk/KDE/kdeutils/khexedit/draglabel.cc #701480:701481
@@ -18,6 +18,8 @@
  *
  */
 
+#include "draglabel.h"
+
 #include <stdlib.h>
 
 #include <qbitmap.h>
@@ -25,9 +27,7 @@
 
 #include <kurl.h>
 
-#include "draglabel.h"
 
-
 CDragLabel::CDragLabel( QWidget *parent )
   : QLabel( "draglabel", parent )
 {
--- trunk/KDE/kdeutils/khexedit/draglabel.h #701480:701481
@@ -18,8 +18,8 @@
  *
  */
 
-#ifndef _DRAG_SOURCE_H_
-#define _DRAG_SOURCE_H_
+#ifndef DRAG_SOURCE_H
+#define DRAG_SOURCE_H
 
 #include <q3dropsite.h>
 #include <QLabel>
--- trunk/KDE/kdeutils/khexedit/exportdialog.cc #701480:701481
@@ -18,6 +18,8 @@
  *
  */
 
+#include "exportdialog.h"
+
 #include <limits.h>
 #include <q3buttongroup.h>
 #include <KLineEdit>
@@ -31,7 +33,6 @@
 #include <kmessagebox.h>
 
 #include "dialog.h"
-#include "exportdialog.h"
 #include <QPushButton>
 
 
--- trunk/KDE/kdeutils/khexedit/fileinfodialog.cc #701480:701481
@@ -17,6 +17,8 @@
  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
+#include "fileinfodialog.h"
+#include "listview.h"
 
 #include <q3header.h>
 #include <QLabel>
@@ -27,9 +29,6 @@
 #include <klocale.h>
 #include <QAbstractEventDispatcher>
 
-#include "fileinfodialog.h"
-#include "listview.h"
-
 // quick'n'dirty hack to have the occurrence column sorted correctly
 class CStatisticListViewItem : public Q3ListViewItem
 {
--- trunk/KDE/kdeutils/khexedit/hexbuffer.cc #701480:701481
@@ -18,6 +18,9 @@
  *
  */
 
+#include "hexbuffer.h"
+#include "hexerror.h"
+
 #include <ctype.h>
 #include <errno.h>
 #include <stdlib.h>
@@ -31,9 +34,6 @@
 #include <kglobalsettings.h>
 #include <knotification.h>
 
-#include "hexbuffer.h"
-#include "hexerror.h"
-
 //
 // There are some comments marked with a "// ##" at various places.
 // These indicate a patch from Sergey A. Sukiyazov which I have applied
--- trunk/KDE/kdeutils/khexedit/hexclipboard.cc #701480:701481
@@ -24,8 +24,8 @@
 //
 
 
+#include "hexclipboard.h"
 #include <string.h>
-#include "hexclipboard.h"
 
 
 static const uchar *base64EncodeTable( void )
--- trunk/KDE/kdeutils/khexedit/hexerror.cc #701480:701481
@@ -18,10 +18,9 @@
  *
  */
 
+#include "hexerror.h"
 #include <klocale.h>
 
-#include "hexerror.h"
-
 static QString message;
 
 
--- trunk/KDE/kdeutils/khexedit/hexerror.h #701480:701481
@@ -21,6 +21,8 @@
 #ifndef _HEX_ERROR_H_
 #define _HEX_ERROR_H_
 
+#include <QString>
+
 enum EHexError
 {
   Err_NoErr = 0,
--- trunk/KDE/kdeutils/khexedit/hexmanagerwidget.cc #701480:701481
@@ -18,11 +18,11 @@
  *
  */
 
+#include "hexmanagerwidget.h"
+#include "searchbar.h"
 #include <KDialog>
 #include <KLocale>
 #include <QLayout>
-#include "hexmanagerwidget.h"
-#include "searchbar.h"
 
 CHexManagerWidget::CHexManagerWidget( QWidget *parent,
 				      EConversionPosition conversionPosition,
--- trunk/KDE/kdeutils/khexedit/hextoolwidget.cc #701480:701481
@@ -17,12 +17,12 @@
  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
+#include "hextoolwidget.h"
 
 #include <kdialog.h>
 #include <klocale.h>
 #include <kglobalsettings.h>
 
-#include "hextoolwidget.h"
 #include <QLabel>
 #include <QLayout>
 #include <KLineEdit>
--- trunk/KDE/kdeutils/khexedit/hexvalidator.cc #701480:701481
@@ -18,10 +18,10 @@
  *
  */
 
+#include "hexvalidator.h"
 #include <ctype.h>
 #include <stdio.h>
 #include <QWidget>
-#include "hexvalidator.h"
 
 CHexValidator::CHexValidator( QWidget *parent, EState state )
   :QValidator( parent )
--- trunk/KDE/kdeutils/khexedit/hexviewwidget.cc #701480:701481
@@ -18,6 +18,10 @@
  *
  */
 
+#include "hexviewwidget.h"
+#include "hexdrag.h"
+#include "hexerror.h"
+
 #include <iostream>
 
 #include <qclipboard.h>
@@ -30,10 +34,6 @@
 #include <kdebug.h>
 #include <k3urldrag.h>
 
-#include "hexdrag.h"
-#include "hexerror.h"
-#include "hexviewwidget.h"
-
 //
 // The usage of the WNorthWestGravity flag should make screen update
 // faster (less paintEvents). I have had to add update() some places
--- trunk/KDE/kdeutils/khexedit/listview.cc #701480:701481
@@ -18,12 +18,9 @@
  *
  */
 
+#include "listview.h"
 #include <q3header.h>
 
-
-#include "listview.h"
-
-
 CListView::CListView( QWidget *parent, int visibleItem )
   :K3ListView( parent ),  mVisibleItem(qMax( 1, visibleItem ))
 {
--- trunk/KDE/kdeutils/khexedit/optiondialog.cc #701480:701481
@@ -17,6 +17,7 @@
  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
+#include "optiondialog.h"
 
 #include <limits.h>
 #include <KLineEdit>
@@ -39,7 +40,6 @@
 #include <klocale.h>
 #include <kglobalsettings.h>
 
-#include "optiondialog.h"
 #include <QPushButton>
 #include <KComboBox>
 
--- trunk/KDE/kdeutils/khexedit/printdialogpage.cc #701480:701481
@@ -18,6 +18,8 @@
  *
  */
 
+#include "printdialogpage.h"
+
 #include <QLayout>
 #include <q3buttongroup.h>
 #include <QSpinBox>
@@ -28,8 +30,6 @@
 #include <klocale.h>
 
 
-#include "printdialogpage.h"
-
 LayoutDialogPage::LayoutDialogPage( QWidget *parent )
  : KPrintDialogPage( parent )
 {
--- trunk/KDE/kdeutils/khexedit/searchbar.cc #701480:701481
@@ -18,13 +18,12 @@
  *
  */
 
-
-#include <klocale.h>
-
+#include "searchbar.h"
 #include "dialog.h"
 #include "hexvalidator.h"
-#include "searchbar.h"
+
 #include <QPushButton>
+#include <klocale.h>
 
 // crappy X11 headers
 #undef KeyPress
--- trunk/KDE/kdeutils/khexedit/stringdialog.cc #701480:701481
@@ -17,25 +17,23 @@
  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
+#include "stringdialog.h"
+#include "listview.h"
 
 #include <QCheckBox>
 #include <QLabel>
 #include <QLayout>
-#include <KLineEdit>
 #include <QSpinBox>
+#include <QPushButton>
+#include <QAbstractEventDispatcher>
 
 #include <kconfig.h>
 #include <kglobalsettings.h>
 #include <klocale.h>
 #include <kmessagebox.h>
-
-#include "listview.h"
-#include "stringdialog.h"
-#include <QPushButton>
-#include <QAbstractEventDispatcher>
+#include <KLineEdit>
 #include <kglobal.h>
 
-
 CStringDialog::CStringDialog( QWidget *parent )
   : KDialog( parent )
 {
--- trunk/KDE/kdeutils/khexedit/stringdialog.h #701480:701481
@@ -29,14 +29,14 @@
 
 class QCheckBox;
 class QLabel;
-class KLineEdit;
 class Q3ListView;
+class Q3ListViewItem;
 class QSpinBox;
+class KLineEdit;
+class CListView;
 
 #include <QRegExp> 
 #include <kdialog.h>
-
-class CListView;
 #include "hexbuffer.h"
 #include "progress.h"
 
--- trunk/KDE/kdeutils/khexedit/toplevel.cc #701480:701481
@@ -20,12 +20,16 @@
 
 // kate: space-indent on; indent-width 2; replace-tabs on;
 
+#include "toplevel.h"
+#include "dialog.h"
+#include "draglabel.h"
+#include "hexerror.h"
+
 #include <q3ptrlist.h>
 #include <qsignalmapper.h>
 #include <QTimer>
 
 #include <ktoggleaction.h>
-
 #include <kaction.h>
 #include <kiconloader.h>
 #include <klocale.h>
@@ -40,12 +44,7 @@
 #include <ktoolbarspaceraction.h>
 #include <kicon.h>
 #include <kactioncollection.h>
-#include "dialog.h"
-#include "draglabel.h"
-#include "hexerror.h"
-#include "toplevel.h"
 
-
 Q3PtrList<KHexEdit> KHexEdit::mWindowList;
 
 KHexEdit::KHexEdit( void )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic