Rename kde libraries to tde

pull/1/head
Timothy Pearson 13 anni fa
parent cd42115f94
commit 898d80dfae

@ -2,7 +2,7 @@
This section contains the KDE online class reference for the current development version of KDE Games.
- <a href="libkdegames/html"><b>libkdegames</b></a> (<a href="libkdegames/html/classes.html">classes</a>)
- <a href="libtdegames/html"><b>libtdegames</b></a> (<a href="libtdegames/html/classes.html">classes</a>)
*/

@ -1,5 +1,5 @@
AUTOMAKE_OPTIONS = foreign 1.6.1
COMPILE_FIRST = libkdegames
COMPILE_FIRST = libtdegames
COMPILE_AFTER_libksirtet = ksirtet kfouleggs klickety
DISTCLEANFILES = inst-apps

@ -104,7 +104,7 @@ This is a compilation of various games
* kwin4
Place 4 pieces in a row.
* libkdegames
* libtdegames
TDE game library used by many of these programs, contains also images
of card decks.

@ -1,5 +1,5 @@
bin_PROGRAMS = atlantik
INCLUDES = -I$(top_srcdir)/libkdegames -I$(srcdir)/../libatlantic -I$(srcdir)/../libatlantikclient -I$(srcdir)/../libatlantikui $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames -I$(srcdir)/../libatlantic -I$(srcdir)/../libatlantikclient -I$(srcdir)/../libatlantikui $(all_includes)
atlantik_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor -L../libatlantic/.libs -latlantic
atlantik_LDADD = ../libatlantikui/libatlantikui.la ../libatlantikclient/libatlantikclient.la $(LIB_KDEGAMES) $(LIB_KIO)
atlantik_DEPENDENCIES = $(LIB_KDEGAMES_DEP)

@ -62,7 +62,7 @@ int main(int argc, char *argv[])
KApplication::addCmdLineOptions();
KApplication kapplication;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
if (kapplication.isRestored())
RESTORE(Atlantik)

@ -7,8 +7,8 @@ CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
KDE_INIT_DOXYGEN([KDE Games API Reference], [Version $VERSION])
# Allow for stand-alone releases of applications with cvs2pack
if test -d $srcdir/libkdegames ; then
AC_SUBST(LIB_KDEGAMES, "\$(top_builddir)/libkdegames/libkdegames.la")
if test -d $srcdir/libtdegames ; then
AC_SUBST(LIB_KDEGAMES, "\$(top_builddir)/libtdegames/libtdegames.la")
AC_SUBST(LIB_KDEGAMES_DEP, '$(LIB_KDEGAMES)')
else
AC_SUBST(LIB_KDEGAMES, "-lkdegames")

@ -1,6 +1,6 @@
SUBDIRS = . sprites sounds
INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/highscore $(all_includes)
METASOURCES = AUTO
bin_PROGRAMS = kasteroids

@ -30,7 +30,7 @@ int main( int argc, char *argv[] )
KCmdLineArgs::init( argc, argv, &aboutData );
KApplication app;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
KGlobal::dirs()->addResourceType("sprite", KStandardDirs::kde_default("data") + "kasteroids/sprites/");
KGlobal::dirs()->addResourceType("sounds", KStandardDirs::kde_default("data") + "kasteroids/sounds/");

@ -1,5 +1,5 @@
INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/highscore $(all_includes)
katomic_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
katomic_LDADD = $(LIB_KDEGAMES)
katomic_DEPENDENCIES = $(LIB_KDEGAMES_DEP)

@ -54,7 +54,7 @@ int main(int argc, char **argv)
TQApplication::setColorSpec(TQApplication::ManyColor);
KApplication a;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
if ( a.isRestored() )
RESTORE(AtomTopLevel)

@ -1,6 +1,6 @@
SUBDIRS = pics sounds icons engines
INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/kgame/ -I$(srcdir)/engines $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/kgame/ -I$(srcdir)/engines $(all_includes)
METASOURCES = AUTO
bin_PROGRAMS = kbackgammon

@ -2,7 +2,7 @@ noinst_LTLIBRARIES = libkbgfibs.la
libkbgfibs_la_SOURCES = kbgfibs.cpp kplayerlist.cpp kbginvite.cpp kbgfibschat.cpp
INCLUDES= -I$(top_srcdir)/kbackgammon/engines -I$(top_srcdir)/libkdegames \
INCLUDES= -I$(top_srcdir)/kbackgammon/engines -I$(top_srcdir)/libtdegames \
-I$(top_srcdir)/kbackgammon $(all_includes)
METASOURCES = AUTO

@ -3,7 +3,7 @@ noinst_LTLIBRARIES = libkbgnextgen.la
libkbgnextgen_la_SOURCES = kbgng.cpp kbgplayer.cpp kbggame.cpp
INCLUDES= -I$(top_srcdir)/kbackgammon -I$(top_srcdir)/kbackgammon/engines \
-I$(top_srcdir)/libkdegames/kgame $(all_includes)
-I$(top_srcdir)/libtdegames/kgame $(all_includes)
METASOURCES = AUTO

@ -52,7 +52,7 @@ int main(int argc, char *argv[])
KCmdLineArgs::init(argc, argv, &about);
KApplication app;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
if (app.isRestored())
RESTORE(KBg)

@ -1,6 +1,6 @@
SUBDIRS = dialogs . pictures sounds
INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/highscore $(all_includes)
METASOURCES = AUTO
bin_PROGRAMS = kbattleship

@ -49,7 +49,7 @@ int main(int argc, char *argv[])
KCmdLineArgs::init(argc, argv, &aboutData);
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication app;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
TQString picDirCheck = locate("data", "kbattleship/pictures/");
TQString onePicCheck = locate("data", "kbattleship/pictures/hit.png");

@ -1,6 +1,6 @@
SUBDIRS = pics
INCLUDES = -I$(top_srcdir)/libkdegames $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames $(all_includes)
bin_PROGRAMS = kblackbox
kblackbox_SOURCES = kbbgfx.cpp kbbgame.cpp util.cpp main.cpp

@ -33,7 +33,7 @@ int main( int argc, char **argv )
KCmdLineArgs::init( argc, argv, &aboutData );
KApplication a;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
if (a.isRestored())
RESTORE(KBBGame)

@ -6,7 +6,7 @@ endif
SUBDIRS = pics sounds
INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/highscore $(all_includes)
METASOURCES = AUTO
KDE_CXXFLAGS = $(KDE_USE_FPIE)
@ -40,7 +40,7 @@ install-data-local:
echo "" ;\
echo "If the system-wide highscore file does not exist, it is" ;\
echo "created with the correct ownership and permissions. See the" ;\
echo "INSTALL file in \"kdegames/libkdegames/highscore\" for details." ;\
echo "INSTALL file in \"kdegames/libtdegames/highscore\" for details." ;\
echo "" ;\
echo "********************************************************" ;\
fi

@ -54,7 +54,7 @@ int main(int argc, char **argv)
TQApplication::setColorSpec(TQApplication::ManyColor);
KApplication a;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
ExtManager manager;

@ -1,6 +1,6 @@
SUBDIRS = toolbar bitmaps
INCLUDES = -I$(top_srcdir)/libkdegames $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames $(all_includes)
METASOURCES = AUTO
KDE_ICON = kenolaba

@ -47,7 +47,7 @@ int main(int argc, char *argv[])
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication app;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
/* command line handling */
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();

@ -1,4 +1,4 @@
INCLUDES = -I$(top_builddir)/libksirtet -I$(top_srcdir)/libksirtet -I$(top_srcdir)/libksirtet/base -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(all_includes)
INCLUDES = -I$(top_builddir)/libksirtet -I$(top_srcdir)/libksirtet -I$(top_srcdir)/libksirtet/base -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/highscore $(all_includes)
SUBDIRS = pics
@ -36,7 +36,7 @@ install-data-local:
&& echo "" \
&& echo "If the system-wide highscore file does not exist, it is" \
&& echo "created with the correct ownership and permissions. See the" \
&& echo "INSTALL file in \"kdegames/libkdegames/highscore\" for details." \
&& echo "INSTALL file in \"kdegames/libtdegames/highscore\" for details." \
&& echo "" \
&& echo "********************************************************" \
) || true

@ -5,7 +5,7 @@
bin_PROGRAMS = kgoldrunner
# set the include path for X, qt and KDE
INCLUDES = -I$(top_srcdir)/libkdegames $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames $(all_includes)
# the library search path.
kgoldrunner_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor

@ -76,7 +76,7 @@ KGoldrunner::KGoldrunner()
/******************************************************************************/
// Get catalog for translation
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
// Tell the KMainWindow that this is the main widget
setCentralWidget (view);

@ -1,5 +1,5 @@
INCLUDES = -I$(top_srcdir)/libkdegames $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames $(all_includes)
METASOURCES = AUTO
KDE_ICON = kjumpingcube

@ -44,7 +44,7 @@ int main(int argc, char *argv[])
KCmdLineArgs::init( argc, argv, &aboutData );
KApplication app;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
// All session management is handled in the RESTORE macro
if (app.isRestored())

@ -1,6 +1,6 @@
SUBDIRS = pics
INCLUDES = -I$(top_builddir)/libksirtet -I$(top_srcdir)/libksirtet -I$(top_srcdir)/libkdegames/highscore -I$(top_srcdir)/libkdegames $(all_includes)
INCLUDES = -I$(top_builddir)/libksirtet -I$(top_srcdir)/libksirtet -I$(top_srcdir)/libtdegames/highscore -I$(top_srcdir)/libtdegames $(all_includes)
KDE_CXXFLAGS = $(KDE_USE_FPIE)
@ -36,7 +36,7 @@ install-data-local:
&& echo "" \
&& echo "If the system-wide highscore file does not exist, it is" \
&& echo "created with the correct ownership and permissions. See the" \
&& echo "INSTALL file in \"kdegames/libkdegames/highscore\" for details." \
&& echo "INSTALL file in \"kdegames/libtdegames/highscore\" for details." \
&& echo "" \
&& echo "********************************************************" \
) || true

@ -1,5 +1,5 @@
INCLUDES= -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(all_includes)
INCLUDES= -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/highscore $(all_includes)
METASOURCES = AUTO
bin_PROGRAMS = klines

@ -43,7 +43,7 @@ int main( int argc, char **argv )
KCmdLineArgs::init(argc, argv, &aboutData);
KApplication a;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
if (a.isRestored())
RESTORE(KLines)

@ -1,6 +1,6 @@
SUBDIRS = pics
INCLUDES = -I$(top_srcdir)/libkdegames $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames $(all_includes)
KDE_ICON = kmahjongg
bin_PROGRAMS = kmahjongg

@ -23,7 +23,7 @@ int main( int argc, char** argv )
KCmdLineArgs::init( argc, argv, &aboutData );
KApplication a;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
KImageIO::registerFormats();
if (a.isRestored())

@ -276,7 +276,7 @@ Mario Weilguni <mweilguni@kde.org>
* "kexample 0.31" compliant
0.6.4
* adapted to libkdecore 0.7
* adapted to libtdecore 0.7
* hide/show menubar and popup
* more compliant to the Style Guide

@ -1,5 +1,5 @@
SUBDIRS = data bitmaps solver
INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/highscore $(all_includes)
KDE_CXXFLAGS = $(KDE_USE_FPIE)
@ -31,7 +31,7 @@ install-data-local:
&& echo "" \
&& echo "If the system-wide highscore file does not exist, it is" \
&& echo "created with the correct ownership and permissions. See the" \
&& echo "INSTALL file in \"kdegames/libkdegames/highscore\" for details." \
&& echo "INSTALL file in \"kdegames/libtdegames/highscore\" for details." \
&& echo "" \
&& echo "********************************************************" \
) || true

@ -248,7 +248,7 @@ int main(int argc, char **argv)
KCmdLineArgs::init(argc, argv, &aboutData);
KApplication a;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
KExtHighscore::ExtManager manager;
if ( a.isRestored() ) RESTORE(MainWidget)

@ -1,4 +1,4 @@
INCLUDES = -I$(top_srcdir)/kmines/generic -I$(top_srcdir)/kmines -I$(top_srcdir)/libkdegames $(all_includes)
INCLUDES = -I$(top_srcdir)/kmines/generic -I$(top_srcdir)/kmines -I$(top_srcdir)/libtdegames $(all_includes)
noinst_LTLIBRARIES = libsolver.la
noinst_HEADERS = bfield.h solver.h headerP.h adviseFast.h adviseFull.h

@ -1,6 +1,6 @@
SUBDIRS = pics sounds
INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/highscore $(all_includes)
bin_PROGRAMS = knetwalk
@ -35,7 +35,7 @@ install-data-local:
echo "" ;\
echo "If the system-wide highscore file does not exist, it is" ;\
echo "created with the correct ownership and permissions. See the" ;\
echo "INSTALL file in \"kdegames/libkdegames/highscore\" for details." ;\
echo "INSTALL file in \"kdegames/libtdegames/highscore\" for details." ;\
echo "" ;\
echo "********************************************************" ;\
fi

@ -50,7 +50,7 @@ int main(int argc, char ** argv)
KApplication app;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
if (args->isSet("Novice")) Settings::setSkill(Settings::EnumSkill::Novice);

@ -1,5 +1,5 @@
SUBDIRS = objects sounds courses pics graphics
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(all_includes)
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/highscore $(all_includes)
bin_PROGRAMS =
lib_LTLIBRARIES = libkolf.la

@ -1,10 +1,10 @@
SUBDIRS=objects sounds courses pics graphics
bin_PROGRAMS=kolf
INCLUDES=-I$(top_srcdir)/libkdegames $(all_includes)
INCLUDES=-I$(top_srcdir)/libtdegames $(all_includes)
kolf_SOURCES=main.cpp kolf.cpp game.cpp canvasitem.cpp ball.cpp newgame.cpp config.cpp scoreboard.cpp editor.cpp pluginloader.cpp object.cpp vector.cpp printdialogpage.cpp kcomboboxdialog.cpp kvolumecontrol.cpp floater.cpp slope.cpp
kolf_LDFLAGS=$(all_libraries) $(KDE_RPATH) -export-dynamic
kolf_LDADD=$(top_builddir)/libkdegames/libkdegames.la $(LIB_KDEPRINT) $(LIB_KIO) -lartskde
kolf_LDADD=$(top_builddir)/libtdegames/libtdegames.la $(LIB_KDEPRINT) $(LIB_KIO) -lartskde
EXTRA_DIST=kolf.desktop

@ -72,7 +72,7 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
TQApplication::setColorSpec(TQApplication::ManyColor);
KApplication a;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
Kolf *top = new Kolf;

@ -20,7 +20,7 @@ main(int argc, char **argv)
KApplication a;
TQApplication::setGlobalMouseTracking( true );
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
if (a.isRestored())
RESTORE(MainWindow)

@ -1,6 +1,6 @@
SUBDIRS = pics
INCLUDES= -I$(top_srcdir)/libkdegames $(all_includes)
INCLUDES= -I$(top_srcdir)/libtdegames $(all_includes)
KDE_ICON = konquest
bin_PROGRAMS = konquest

@ -1,5 +1,5 @@
INCLUDES = -I$(top_srcdir)/libkdegames $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames $(all_includes)
bin_PROGRAMS = kpat

@ -58,7 +58,7 @@ int main( int argc, char **argv )
KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
KApplication a;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
if (a.isRestored())
RESTORE(pWidget)

@ -1,6 +1,6 @@
SUBDIRS = sounds
INCLUDES = -I$(top_srcdir)/libkdegames $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames $(all_includes)
METASOURCES = AUTO
KDE_ICON = kpoker

@ -41,7 +41,7 @@ int main( int argc, char *argv[] )
KCmdLineArgs::init( argc, argv, &aboutData );
KApplication myApp;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
if (myApp.isRestored())
RESTORE(PokerWindow)

@ -436,13 +436,13 @@
* main.cpp
* Position.h, Position.cpp
Step 2 in the plan to use KGame from libkdegames:
Step 2 in the plan to use KGame from libtdegames:
* Code cleaning: Add some comments, reduce complexity, improve
indentation
* Add m_to_move to class Position.
Step 1 in the plan to use KGame from libkdegames:
Step 1 in the plan to use KGame from libtdegames:
* Code cleaning: Change "enum Player" into "enum Color", since that
is really what it describes.

@ -1,4 +1,4 @@
INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/highscore $(all_includes)
bin_PROGRAMS = kreversi
@ -65,7 +65,7 @@ install-data-local:
echo "" ;\
echo "If the system-wide highscore file does not exist, it is" ;\
echo "created with the correct ownership and permissions. See the" ;\
echo "INSTALL file in \"kdegames/libkdegames/highscore\" for details." ;\
echo "INSTALL file in \"kdegames/libtdegames/highscore\" for details." ;\
echo "" ;\
echo "********************************************************" ;\
fi

@ -67,7 +67,7 @@ int main(int argc, char **argv)
KCmdLineArgs::init( argc, argv, &aboutData );
KApplication a;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
// used for loading background pixmaps
KImageIO::registerFormats();

@ -1,6 +1,6 @@
bin_PROGRAMS = ksame
INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/highscore $(all_includes)
ksame_SOURCES= main.cpp StoneField.cpp StoneWidget.cpp KSameWidget.cpp
ksame_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor

@ -41,7 +41,7 @@ int main( int argc, char **argv ) {
KApplication::setColorSpec(TQApplication::ManyColor+TQApplication::CustomColor);
KApplication a;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
KSameWidget *w = new KSameWidget;
if (kapp->isRestored()) {

@ -1,6 +1,6 @@
INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/highscore $(all_includes)
PICDIR = $(kde_datadir)/kshisen/pics

@ -63,7 +63,7 @@ int main(int argc, char **argv)
KCmdLineArgs::init( argc, argv, &aboutData );
KApplication a;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
App *app = new App();
app->show();

@ -277,7 +277,7 @@
* "kexample 0.31" compliance
0.2.3
* adapted for libkdecore 0.7
* adapted for libtdecore 0.7
* hide/show menubar + popup menu (ala kvt)
* more compliant to the Style Guide

@ -1,4 +1,4 @@
INCLUDES = -I$(top_builddir)/libksirtet -I$(top_srcdir)/libksirtet -I$(top_srcdir)/libksirtet/base -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(all_includes)
INCLUDES = -I$(top_builddir)/libksirtet -I$(top_srcdir)/libksirtet -I$(top_srcdir)/libksirtet/base -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/highscore $(all_includes)
KDE_CXXFLAGS = $(KDE_USE_FPIE)
@ -42,7 +42,7 @@ install-data-local:
&& echo "" \
&& echo "If the system-wide highscore file does not exist, it is" \
&& echo "created with the correct ownership and permissions. See the" \
&& echo "INSTALL file in \"kdegames/libkdegames/highscore\" for details." \
&& echo "INSTALL file in \"kdegames/libtdegames/highscore\" for details." \
&& echo "" \
&& echo "********************************************************" \
) || true

@ -1,6 +1,6 @@
SUBDIRS= data wav
INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/highscore $(all_includes)
METASOURCES = AUTO
bin_PROGRAMS = ksmiletris

@ -44,7 +44,7 @@ int main(int argc, char **argv)
KApplication app;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
GameWindow *w = new GameWindow;
app.setMainWidget(w);

@ -1,5 +1,5 @@
INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore/ $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/highscore/ $(all_includes)
noinst_HEADERS = game.h rattler.h board.h bitmaps.h \
level.h ball.h snake.h basket.h startroom.h \

@ -44,7 +44,7 @@ int main( int argc, char **argv )
KCmdLineArgs::init( argc, argv, &aboutData );
KApplication app;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
Game *ksnake = new Game();
app.setMainWidget( ksnake );

@ -1,4 +1,4 @@
INCLUDES= -I$(top_srcdir)/libkdegames $(all_includes)
INCLUDES= -I$(top_srcdir)/libtdegames $(all_includes)
SUBDIRS = sprites pics

@ -1,7 +1,7 @@
SUBDIRS=pics
bin_PROGRAMS = ktron
INCLUDES = -I$(top_srcdir)/libkdegames $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames $(all_includes)
ktron_SOURCES = ai.ui appearance.ui general.ui tron.cpp player.cpp ktron.cpp main.cpp settings.kcfgc
ktron_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KIO)

@ -41,7 +41,7 @@ int main(int argc, char* argv[])
KCmdLineArgs::init( argc, argv, &aboutData );
KApplication a;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
// used for loading background pixmaps
KImageIO::registerFormats();

@ -11,7 +11,7 @@
# kde_toolbardir Where general toolbar icons should go to.
# kde_wallpaperdir Where general wallpapers should go to.
INCLUDES= -I$(top_srcdir)/libkdegames $(all_includes)
INCLUDES= -I$(top_srcdir)/libtdegames $(all_includes)
SUBDIRS = . museum sounds pics
bin_PROGRAMS = ktuberling

@ -40,7 +40,7 @@ int main(int argc, char *argv[])
KCmdLineArgs::addCmdLineOptions(options);
KApplication app;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
KImageIO::registerFormats();
TopLevel *toplevel=0;

@ -11,7 +11,7 @@ kwin4proc_SOURCES = kwin4proc.cpp
kwin4proc_LDADD = $(LIB_KFILE) $(LIB_KDEGAMES)
kwin4proc_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/kgame $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/kgame $(all_includes)
METASOURCES = AUTO

@ -61,7 +61,7 @@
/**
* Constructor for the chat widget. This widget
* is derived from the libkdegames chat widget
* is derived from the libtdegames chat widget
*/
ChatDlg::ChatDlg(KGame *game,TQWidget *parent)
: KDialogBase(Plain,i18n("Chat Dlg"),Ok,Ok,parent,0,false,true),mChat(0), mChatDlg(0)

@ -57,7 +57,7 @@ int main(int argc, char *argv[])
}
args->clear();
KApplication app(argc, argv);
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
if (app.isRestored())
{

@ -1,10 +1,10 @@
lib_LTLIBRARIES = libkdegames.la
libkdegames_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined -version-info 3:0:2
libkdegames_la_LIBADD = highscore/libkhighscore.la kgame/libkgame.la kgame/dialogs/libkgamedialogs.la \
lib_LTLIBRARIES = libtdegames.la
libtdegames_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined -version-info 3:0:2
libtdegames_la_LIBADD = highscore/libkhighscore.la kgame/libkgame.la kgame/dialogs/libkgamedialogs.la \
$(LIB_KSYCOCA) $(LIB_KDNSSD)
libkdegames_la_SOURCES = kcarddialog.cpp kstdgameaction.cpp \
libtdegames_la_SOURCES = kcarddialog.cpp kstdgameaction.cpp \
kgamemisc.cpp kchatbase.cpp kchat.cpp \
kchatdialog.cpp kgameprogress.cpp \
kcanvasrootpixmap.cpp kgamelcd.cpp
@ -18,6 +18,6 @@ METASOURCES = AUTO
SUBDIRS = carddecks highscore kgame pics
messages:
$(XGETTEXT) `find . -name \*.h -o -name \*.cpp -o -name \*.cc` -o $(podir)/libkdegames.pot
$(XGETTEXT) `find . -name \*.h -o -name \*.cpp -o -name \*.cc` -o $(podir)/libtdegames.pot
include ../admin/Doxyfile.am

@ -3,7 +3,7 @@ It is a collection of functions used by some games or which
are useful for other games.
Packagers note: it is recommended to put the directory "carddecks" into a separate
package, as not all games using libkdegames use the carddecks as well.
package, as not all games using libtdegames use the carddecks as well.
Contents:
kcarddialog: Access to carddeck selection and administration
@ -18,8 +18,8 @@ Contents:
kgame: this is a complete network/game handling library. it constists of a lot
of classes which are explained in the kgame docu (as soon as it is
written)
if you use libkdegames in your game please also add
KGlobal::locale()->insertCatalogue("libkdegames");
if you use libtdegames in your game please also add
KGlobal::locale()->insertCatalogue("libtdegames");
to main()
This will add libkdegames.pot to your game and therefore all libkdegames
This will add libtdegames.pot to your game and therefore all libtdegames
strings get translated.

@ -8,5 +8,5 @@ cards1,cards2,cards3,... where each directory contains 52
PNG images of the cards labels 1.png,2.png,...52.png
Access to these cards works by using the kcardialog library
in libkdegames. See for documentation there.
in libtdegames. See for documentation there.

@ -1,5 +1,5 @@
Installation notes for the highscore files ; this is only relevant if you
configured libkdegames with option --enable-highscore-dir=DIR (usually DIR is
configured libtdegames with option --enable-highscore-dir=DIR (usually DIR is
/var/games) for using system-wide highscore files.
For each game using the highscore system :

@ -801,7 +801,7 @@ void KCardDialog::init()
return;
KGlobal::dirs()->addResourceType("cards", KStandardDirs::kde_default("data") + TQString::tqfromLatin1("carddecks/"));
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
_inited = true;
}

@ -19,11 +19,11 @@ libkgame_la_SOURCES = $(KMESSAGE) $(KGAME)
libkgameinclude_HEADERS = $(KMESSAGE_H) $(KGAME_H)
INCLUDES = -I$(top_srcdir)/libkdegames $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames $(all_includes)
METASOURCES = AUTO
SUBDIRS = . dialogs
messages:
# $(XGETTEXT) `find . -name \*.h -o -name \*.cpp -o -name \*.cc` -o $(podir)/libkdegames.pot
# $(XGETTEXT) `find . -name \*.h -o -name \*.cpp -o -name \*.cc` -o $(podir)/libtdegames.pot

@ -9,9 +9,9 @@ libkgamedialogs_la_SOURCES = kgamedialog.cpp kgameconnectdialog.cpp kgameerrordi
libkgamedialogsincludedir=$(includedir)/kgame
libkgamedialogsinclude_HEADERS = kgamedialog.h kgameconnectdialog.h kgameerrordialog.h kgamedebugdialog.h kgamedialogconfig.h
INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/kgame $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/kgame $(all_includes)
METASOURCES = AUTO
messages:
# $(XGETTEXT) `find . -name \*.h -o -name \*.cpp -o -name \*.cc` -o $(podir)/libkdegames.pot
# $(XGETTEXT) `find . -name \*.h -o -name \*.cpp -o -name \*.cc` -o $(podir)/libtdegames.pot

@ -1,11 +1,11 @@
<html>
<head>
<title>Documentation for libkdegames</title>
<title>Documentation for libtdegames</title>
<meta content="">
<style></style>
</head>
<body>
<H1>Documentation for the classes in libkdegames</H1>
<H1>Documentation for the classes in libtdegames</H1>
<!-------------------------------------------------------------------------------->
<H3>Design Principles</H3>
The library <em>kdegames</em> contains a collection of classes that can be used

@ -1,4 +1,4 @@
Message formats of libkdegames:
Message formats of libtdegames:
-------------------------------
There are two different communication layers, using their own protocols:

@ -1,4 +1,4 @@
INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/highscore $(all_includes)
# Don't compile with hidden symbols since we are a library.
if disable_VISIBILITY

@ -29,7 +29,7 @@ void BaseFactory::init(int argc, char **argv)
{
KCmdLineArgs::init(argc, argv, _aboutData);
(void)new KApplication;
KGlobal::locale()->insertCatalogue("libkdegames");
KGlobal::locale()->insertCatalogue("libtdegames");
KGlobal::locale()->insertCatalogue("libksirtet");
}

@ -1,4 +1,4 @@
INCLUDES = -I$(top_builddir)/libksirtet -I$(top_srcdir)/libksirtet -I$(srcdir)/../base -I$(top_srcdir)/libkdegames/highscore -I$(top_srcdir)/libkdegames $(all_includes)
INCLUDES = -I$(top_builddir)/libksirtet -I$(top_srcdir)/libksirtet -I$(srcdir)/../base -I$(top_srcdir)/libtdegames/highscore -I$(top_srcdir)/libtdegames $(all_includes)
# Don't compile with hidden symbols since we are a library.
if disable_VISIBILITY

@ -6,7 +6,7 @@ lskat_SOURCES = msgdlg.cpp networkdlg.cpp namedlg.cpp KRemoteConnect.cpp KRSocke
lskat_LDADD = $(LIB_KFILE) $(LIB_KDEGAMES) $(LIB_KDNSSD)
lskat_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
INCLUDES = -I$(top_srcdir)/libkdegames $(all_includes)
INCLUDES = -I$(top_srcdir)/libtdegames $(all_includes)
METASOURCES = AUTO

Caricamento…
Annulla
Salva