[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeutils/khexedit
From: David Faure <faure () kde ! org>
Date: 2007-02-07 11:38:34
Message-ID: 1170848314.870877.15849.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 631207 by dfaure:
Doesn't need config.h anymore
M +0 -3 chartabledialog.h
M +0 -3 dialog.h
M +0 -3 fileinfodialog.h
M +0 -3 hexbuffer.h
M +2 -3 hexeditorwidget.cc
M +0 -3 hexeditorwidget.h
M +0 -3 hexmanagerwidget.h
M +2 -2 hextoolwidget.cc
M +0 -3 hexviewwidget.h
M +0 -3 stringdialog.h
M +0 -3 toplevel.h
--- trunk/KDE/kdeutils/khexedit/chartabledialog.h #631206:631207
@@ -25,9 +25,6 @@
#ifndef _CHAR_TABLE_DIALOG_H_
#define _CHAR_TABLE_DIALOG_H_
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
class QLabel;
class QSpinBox;
--- trunk/KDE/kdeutils/khexedit/dialog.h #631206:631207
@@ -21,9 +21,6 @@
#ifndef _DIALOG_H_
#define _DIALOG_H_
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
#include <QCheckBox>
--- trunk/KDE/kdeutils/khexedit/fileinfodialog.h #631206:631207
@@ -27,9 +27,6 @@
#define _FILE_INFO_DIALOG_H_
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
class QLabel;
--- trunk/KDE/kdeutils/khexedit/hexbuffer.h #631206:631207
@@ -21,9 +21,6 @@
#ifndef _HEX_BUFFER_H_
#define _HEX_BUFFER_H_
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
#include <iostream>
#include <time.h>
--- trunk/KDE/kdeutils/khexedit/hexeditorwidget.cc #631206:631207
@@ -1109,11 +1109,10 @@
//
// No i18n() on this one!
- // Constants come from config.h
//
- QString creator( PACKAGE );
+ QString creator( "kdeutils" );
creator += ' ';
- creator += VERSION;
+ creator += KDE_VERSION_STRING;
printer.setCreator( creator );
--- trunk/KDE/kdeutils/khexedit/hexeditorwidget.h #631206:631207
@@ -21,9 +21,6 @@
#ifndef _HEX_EDITOR_WIDGET_H_
#define _HEX_EDITOR_WIDGET_H_
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
#include <QVariant>
--- trunk/KDE/kdeutils/khexedit/hexmanagerwidget.h #631206:631207
@@ -21,9 +21,6 @@
#ifndef _HEX_MANAGER_WIDGET_H_
#define _HEX_MANAGER_WIDGET_H_
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
#include <qtabbar.h>
#include <q3valuelist.h>
--- trunk/KDE/kdeutils/khexedit/hextoolwidget.cc #631206:631207
@@ -105,7 +105,7 @@
connect( mCheckIntelFormat, SIGNAL(clicked()), this, SLOT(intelFormat()) );
SettingsBox->addWidget( mCheckIntelFormat, 0, Qt::AlignVCenter );
mCheckIntelFormat->setChecked( // default value to please endian system users
-#ifdef WORDS_BIGENDIAN
+#if Q_BYTE_ORDER == Q_BIG_ENDIAN
false // Big Endian: SUN, Motorola machines (amongst others)
#else
true // Little Endian: Intel, Alpha
@@ -268,7 +268,7 @@
typedef union { unsigned char b[8]; double d; } aligned_t;
aligned_t Data;
if(
-#ifdef WORDS_BIGENDIAN
+#if Q_BYTE_ORDER == Q_BIG_ENDIAN
! // Assume Big Endian. This is the case for SUN machines (amongst others)
#else
// Assume Little Endian. This is the case for the Intel architecture.
--- trunk/KDE/kdeutils/khexedit/hexviewwidget.h #631206:631207
@@ -21,9 +21,6 @@
#ifndef _HEX_VIEW_WIDGET_H_
#define _HEX_VIEW_WIDGET_H_
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
#include <q3frame.h>
--- trunk/KDE/kdeutils/khexedit/stringdialog.h #631206:631207
@@ -26,9 +26,6 @@
#ifndef _STRING_DIALOG_H_
#define _STRING_DIALOG_H_
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
class QCheckBox;
class QLabel;
--- trunk/KDE/kdeutils/khexedit/toplevel.h #631206:631207
@@ -21,9 +21,6 @@
#ifndef _TOPLEVEL_H_
#define _TOPLEVEL_H_
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
#include <q3ptrlist.h>
//Added by qt3to4:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic