Renaming of files in preparation for code style tools.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/31/head
Michele Calgaro 3 years ago
parent 062ea53b46
commit 7ec5a57fc3
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1,8 +1,5 @@
$Id$ $Id$
2001-10-24: Roberto Selbach Teixeira <maragato@kde.org>
* Renamed all .cc files to .cpp to make things more logic.
2001-06-23: Roberto Selbach Teixeira <maragato@kde.org> 2001-06-23: Roberto Selbach Teixeira <maragato@kde.org>
* Fixed a bug in tar addition with non-compressed tar archives * Fixed a bug in tar addition with non-compressed tar archives
@ -20,12 +17,12 @@
2001-05-29 Roberto Selbach Teixeira <maragato@conectiva.com> 2001-05-29 Roberto Selbach Teixeira <maragato@conectiva.com>
* compressedfile.cc (unarchFile): move to fromLocal8Bit() to allow * compressedfile.cpp (unarchFile): move to fromLocal8Bit() to allow
non-Latin1 characters in filenames. non-Latin1 characters in filenames.
* ar.cc (unarchFile): .latin1() to .local8Bit() * ar.cpp (unarchFile): .latin1() to .local8Bit()
* zip.cc (unarchFile): .latin1() to .local8Bit() * zip.cpp (unarchFile): .latin1() to .local8Bit()
2000-07-10: Emily Ezust <emilye@corel.com> 2000-07-10: Emily Ezust <emilye@corel.com>
* Added checks for available disk space * Added checks for available disk space

@ -25,7 +25,7 @@ link_directories(
##### kcharselect (executable) ################## ##### kcharselect (executable) ##################
tde_add_executable( kcharselect AUTOMOC tde_add_executable( kcharselect AUTOMOC
SOURCES kcharselectdia.cc main.cc SOURCES kcharselectdia.cpp main.cpp
LINK tdeui-shared LINK tdeui-shared
DESTINATION ${BIN_INSTALL_DIR} DESTINATION ${BIN_INSTALL_DIR}
) )

@ -2,7 +2,7 @@ INCLUDES = $(all_includes)
LDADD = $(LIB_TDEFILE) LDADD = $(LIB_TDEFILE)
bin_PROGRAMS = kcharselect bin_PROGRAMS = kcharselect
kcharselect_SOURCES = kcharselectdia.cc main.cc kcharselect_SOURCES = kcharselectdia.cpp main.cpp
kcharselect_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor kcharselect_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
kcharselect_METASOURCES = kcharselectdia.moc kcharselect_METASOURCES = kcharselectdia.moc
@ -17,5 +17,5 @@ rcdir = $(kde_datadir)/kcharselect
rc_DATA = kcharselectui.rc rc_DATA = kcharselectui.rc
messages: rc.cpp messages: rc.cpp
$(XGETTEXT) *.cc *.cpp -o $(podir)/kcharselect.pot $(XGETTEXT) *.cpp -o $(podir)/kcharselect.pot

@ -37,7 +37,7 @@ KDE_ICON = kgpg
messages: rc.cpp messages: rc.cpp
$(PREPARETIPS) > tips.txt $(PREPARETIPS) > tips.txt
LIST=`find . -name \*.h -o -name \*.txt -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \ LIST=`find . -name \*.h -o -name \*.txt -o -name \*.cpp; \
if test -n "$$LIST"; then \ if test -n "$$LIST"; then \
$(XGETTEXT) $$LIST -o $(podir)/kgpg.pot; \ $(XGETTEXT) $$LIST -o $(podir)/kgpg.pot; \
fi fi

@ -29,16 +29,16 @@ link_directories(
##### khexedit (executable) ##################### ##### khexedit (executable) #####################
tde_add_executable( khexedit AUTOMOC tde_add_executable( khexedit AUTOMOC
SOURCES main.cc toplevel.cc hexmanagerwidget.cc SOURCES main.cpp toplevel.cpp hexmanagerwidget.cpp
hexeditorwidget.cc hextoolwidget.cc hexeditorwidget.cpp hextoolwidget.cpp
hexviewwidget.cc hexbuffer.cc conversion.cc hexviewwidget.cpp hexbuffer.cpp conversion.cpp
dialog.cc hexvalidator.cc hexclipboard.cc dialog.cpp hexvalidator.cpp hexclipboard.cpp
optiondialog.cc printdialogpage.cc optiondialog.cpp printdialogpage.cpp
statusbarprogress.cc hexprinter.cc statusbarprogress.cpp hexprinter.cpp
hexerror.cc draglabel.cc stringdialog.cc hexerror.cpp draglabel.cpp stringdialog.cpp
bitswapwidget.cc chartabledialog.cc bitswapwidget.cpp chartabledialog.cpp
hexdrag.cc exportdialog.cc fileinfodialog.cc hexdrag.cpp exportdialog.cpp fileinfodialog.cpp
converterdialog.cc listview.cc searchbar.cc converterdialog.cpp listview.cpp searchbar.cpp
LINK tdeio-shared tdeprint-shared LINK tdeio-shared tdeprint-shared
DESTINATION ${BIN_INSTALL_DIR} DESTINATION ${BIN_INSTALL_DIR}
) )

@ -4,13 +4,13 @@ SUBDIRS = pics lib parts
bin_PROGRAMS = khexedit bin_PROGRAMS = khexedit
khexedit_SOURCES = main.cc toplevel.cc hexmanagerwidget.cc \ khexedit_SOURCES = main.cpp toplevel.cpp hexmanagerwidget.cpp \
hexeditorwidget.cc hextoolwidget.cc hexviewwidget.cc hexbuffer.cc \ hexeditorwidget.cpp hextoolwidget.cpp hexviewwidget.cpp hexbuffer.cpp \
conversion.cc dialog.cc hexvalidator.cc hexclipboard.cc \ conversion.cpp dialog.cpp hexvalidator.cpp hexclipboard.cpp \
optiondialog.cc printdialogpage.cc statusbarprogress.cc \ optiondialog.cpp printdialogpage.cpp statusbarprogress.cpp \
hexprinter.cc hexerror.cc draglabel.cc stringdialog.cc \ hexprinter.cpp hexerror.cpp draglabel.cpp stringdialog.cpp \
bitswapwidget.cc chartabledialog.cc hexdrag.cc exportdialog.cc \ bitswapwidget.cpp chartabledialog.cpp hexdrag.cpp exportdialog.cpp \
fileinfodialog.cc converterdialog.cc listview.cc searchbar.cc fileinfodialog.cpp converterdialog.cpp listview.cpp searchbar.cpp
noinst_HEADERS = toplevel.h hexmanagerwidget.h hexeditorwidget.h \ noinst_HEADERS = toplevel.h hexmanagerwidget.h hexeditorwidget.h \
hextoolwidget.h hexviewwidget.h hexbuffer.h conversion.h dialog.h \ hextoolwidget.h hexviewwidget.h hexbuffer.h conversion.h dialog.h \
@ -32,4 +32,4 @@ rc_DATA = khexeditui.rc
messages: rc.cpp messages: rc.cpp
$(EXTRACTRC) parts/kpart/*rc >> rc.cpp $(EXTRACTRC) parts/kpart/*rc >> rc.cpp
$(XGETTEXT) rc.cpp `find . -name \*.cc -o -name \*.cpp` -o $(podir)/khexedit.pot $(XGETTEXT) rc.cpp `find . -name \*.cpp` -o $(podir)/khexedit.pot

@ -71,7 +71,7 @@ tde_add_kpart( kcm_laptop AUTOMOC
tde_add_kpart( kded_klaptopdaemon AUTOMOC tde_add_kpart( kded_klaptopdaemon AUTOMOC
SOURCES laptop_daemon.cpp kpcmcia.cpp SOURCES laptop_daemon.cpp kpcmcia.cpp
xautolock.cc kpcmciainfo.cpp daemondock.cpp xautolock.cpp kpcmciainfo.cpp daemondock.cpp
xautolock_diy.c xautolock_engine.c xautolock_diy.c xautolock_engine.c
laptop_daemon.skel laptop_daemon.skel
LINK tdeio-shared kcmlaptop-shared LINK tdeio-shared kcmlaptop-shared

@ -7,7 +7,7 @@ libkcmlaptop_la_SOURCES = portable.cpp smapidev.c daemon_state.cpp wake_laptop.c
libkcmlaptop_la_LDFLAGS = $(all_libraries) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor libkcmlaptop_la_LDFLAGS = $(all_libraries) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
libkcmlaptop_la_LIBADD = $(LIB_TDEUI) libkcmlaptop_la_LIBADD = $(LIB_TDEUI)
MESSAGE_SOURCES = laptop_daemon.cpp kpcmcia.cpp xautolock.cc kpcmciainfo.cpp daemondock.cpp xautolock_diy.c xautolock_engine.c MESSAGE_SOURCES = laptop_daemon.cpp kpcmcia.cpp xautolock.cpp kpcmciainfo.cpp daemondock.cpp xautolock_diy.c xautolock_engine.c
kded_klaptopdaemon_la_SOURCES = $(MESSAGE_SOURCES) laptop_daemon.skel kded_klaptopdaemon_la_SOURCES = $(MESSAGE_SOURCES) laptop_daemon.skel
kded_klaptopdaemon_la_LDFLAGS = $(all_libraries) -module -avoid-version -lXtst $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor kded_klaptopdaemon_la_LDFLAGS = $(all_libraries) -module -avoid-version -lXtst $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
kded_klaptopdaemon_la_LIBADD = $(LIB_TDEUI) $(LIB_XSS) libkcmlaptop.la kded_klaptopdaemon_la_LIBADD = $(LIB_TDEUI) $(LIB_XSS) libkcmlaptop.la

@ -65,7 +65,7 @@ tde_add_library( kregexpeditorcommon SHARED AUTOMOC
scrollededitorwindow.cpp compoundwidget.cpp scrollededitorwindow.cpp compoundwidget.cpp
singlecontainerwidget.cpp widgetfactory.cpp singlecontainerwidget.cpp widgetfactory.cpp
dcbutton.cpp gen_qregexplexer.cpp dcbutton.cpp gen_qregexplexer.cpp
gen_qregexpparser.cc charselector.cpp gen_qregexpparser.cpp charselector.cpp
lookaheadregexp.cpp lookaheadwidget.cpp lookaheadregexp.cpp lookaheadwidget.cpp
regexp.cpp infopage.cpp regexp.cpp infopage.cpp
kregexpeditorprivate.cpp compoundregexp.cpp kregexpeditorprivate.cpp compoundregexp.cpp

@ -21,7 +21,7 @@ libkregexpeditorcommon_la_SOURCES = \
repeatwidget.cpp characterswidget.cpp altnwidget.cpp limitedcharlineedit.cpp textregexp.cpp textrangeregexp.cpp \ repeatwidget.cpp characterswidget.cpp altnwidget.cpp limitedcharlineedit.cpp textregexp.cpp textrangeregexp.cpp \
concregexp.cpp altnregexp.cpp positionregexp.cpp dotregexp.cpp repeatregexp.cpp textwidget.cpp \ concregexp.cpp altnregexp.cpp positionregexp.cpp dotregexp.cpp repeatregexp.cpp textwidget.cpp \
selectablelineedit.cpp multicontainerwidget.cpp scrollededitorwindow.cpp compoundwidget.cpp \ selectablelineedit.cpp multicontainerwidget.cpp scrollededitorwindow.cpp compoundwidget.cpp \
singlecontainerwidget.cpp widgetfactory.cpp dcbutton.cpp gen_qregexplexer.cpp gen_qregexpparser.cc \ singlecontainerwidget.cpp widgetfactory.cpp dcbutton.cpp gen_qregexplexer.cpp gen_qregexpparser.cpp \
charselector.cpp lookaheadregexp.cpp lookaheadwidget.cpp regexp.cpp infopage.cpp kregexpeditorprivate.cpp \ charselector.cpp lookaheadregexp.cpp lookaheadwidget.cpp regexp.cpp infopage.cpp kregexpeditorprivate.cpp \
compoundregexp.cpp auxbuttons.cpp myfontmetrics.cpp regexpbuttons.cpp userdefinedregexps.cpp verifier.cpp \ compoundregexp.cpp auxbuttons.cpp myfontmetrics.cpp regexpbuttons.cpp userdefinedregexps.cpp verifier.cpp \
verifybuttons.cpp errormap.cpp qtregexphighlighter.cpp regexpconverter.cpp qtregexpconverter.cpp \ verifybuttons.cpp errormap.cpp qtregexphighlighter.cpp regexpconverter.cpp qtregexpconverter.cpp \
@ -58,7 +58,7 @@ xdg_apps_DATA = kregexpeditor.desktop
.PHONY: parser .PHONY: parser
parser: parser:
cd $(srcdir) && flex -Pqregexp -ogen_qregexplexer.cpp qregexpparser.l cd $(srcdir) && flex -Pqregexp -ogen_qregexplexer.cpp qregexpparser.l
cd $(srcdir) && bison -d -p qregexp -o gen_qregexpparser.cc qregexpparser.y cd $(srcdir) && bison -d -p qregexp -o gen_qregexpparser.cpp qregexpparser.y
messages: messages:
perl extractrc-from-regexp `find . -name "*.regexp"` > predefined-regexps.cpp perl extractrc-from-regexp `find . -name "*.regexp"` > predefined-regexps.cpp

@ -453,7 +453,7 @@ char *yytext;
#line 21 "qregexpparser.l" #line 21 "qregexpparser.l"
#include <tqstring.h> #include <tqstring.h>
#include "textrangeregexp.h" #include "textrangeregexp.h"
#include "gen_qregexpparser.hh" #include "gen_qregexpparser.h"
#ifdef TQT_ONLY #ifdef TQT_ONLY
#include "compat.h" #include "compat.h"
#endif #endif

@ -155,7 +155,7 @@ typedef union {
char ch; char ch;
} yystype; } yystype;
/* Line 193 of /usr/share/bison/yacc.c. */ /* Line 193 of /usr/share/bison/yacc.c. */
#line 159 "gen_qregexpparser.cc" #line 159 "gen_qregexpparser.cpp"
# define YYSTYPE yystype # define YYSTYPE yystype
# define YYSTYPE_IS_TRIVIAL 1 # define YYSTYPE_IS_TRIVIAL 1
#endif #endif
@ -176,7 +176,7 @@ typedef struct yyltype
/* Line 213 of /usr/share/bison/yacc.c. */ /* Line 213 of /usr/share/bison/yacc.c. */
#line 180 "gen_qregexpparser.cc" #line 180 "gen_qregexpparser.cpp"
#if ! defined (yyoverflow) || YYERROR_VERBOSE #if ! defined (yyoverflow) || YYERROR_VERBOSE
@ -1205,7 +1205,7 @@ yyreduce:
} }
/* Line 1016 of /usr/share/bison/yacc.c. */ /* Line 1016 of /usr/share/bison/yacc.c. */
#line 1209 "gen_qregexpparser.cc" #line 1209 "gen_qregexpparser.cpp"
yyvsp -= yylen; yyvsp -= yylen;
yyssp -= yylen; yyssp -= yylen;

@ -82,7 +82,7 @@ typedef union {
char ch; char ch;
} yystype; } yystype;
/* Line 1281 of /usr/share/bison/yacc.c. */ /* Line 1281 of /usr/share/bison/yacc.c. */
#line 86 "gen_qregexpparser.hh" #line 86 "gen_qregexpparser.h"
# define YYSTYPE yystype # define YYSTYPE yystype
#endif #endif

@ -20,7 +20,7 @@
%{ %{
#include <qstring.h> #include <qstring.h>
#include "textrangeregexp.h" #include "textrangeregexp.h"
#include "gen_qregexpparser.hh" #include "gen_qregexpparser.h"
#ifdef QT_ONLY #ifdef QT_ONLY
#include "compat.h" #include "compat.h"
#endif #endif

@ -3,7 +3,7 @@
ln -s ../*.{cpp,h,y,l} . ln -s ../*.{cpp,h,y,l} .
ln -s ../{KMultiFormListBox,KWidgetStreamer}/*.{cpp,h} . ln -s ../{KMultiFormListBox,KWidgetStreamer}/*.{cpp,h} .
ln -s $KDESRC/tdelibs/interfaces/kregexpeditor/kregexpeditorinterface.h . ln -s $KDESRC/tdelibs/interfaces/kregexpeditor/kregexpeditorinterface.h .
ln -s gen_qregexpparser.cc gen_qregexpparser.cpp ln -s gen_qregexpparser.cpp gen_qregexpparser.cpp
touch unistd.h touch unistd.h
mkdir icons mkdir icons
cp ../picts/* icons cp ../picts/* icons
@ -13,7 +13,7 @@ mkdir predefined/General
cp ../predefined/General/*.regexp predefined/General cp ../predefined/General/*.regexp predefined/General
flex -Pqregexp -ogen_qregexplexer.cpp qregexpparser.l flex -Pqregexp -ogen_qregexplexer.cpp qregexpparser.l
bison -d -p qregexp -o gen_qregexpparser.cc qregexpparser.y bison -d -p qregexp -o gen_qregexpparser.cpp qregexpparser.y
mkdir manual mkdir manual
cd manual cd manual

@ -28,7 +28,7 @@ HEADERS += altnregexp.h \
editorwindow.h \ editorwindow.h \
emacsregexpconverter.h \ emacsregexpconverter.h \
errormap.h \ errormap.h \
gen_qregexpparser.hh \ gen_qregexpparser.h \
indexWindow.h \ indexWindow.h \
infopage.h \ infopage.h \
tdemultiformlistbox-multivisible.h \ tdemultiformlistbox-multivisible.h \

Loading…
Cancel
Save