From 43d99cc2477266cb9072e179137f0e8485370b3d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 7 Nov 2011 20:26:07 -0600 Subject: Rename kwin to twin (part 1 of 2) --- kwin/clients/PORTING | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kwin/clients/PORTING') diff --git a/kwin/clients/PORTING b/kwin/clients/PORTING index f6233beb9..b5fc6500f 100644 --- a/kwin/clients/PORTING +++ b/kwin/clients/PORTING @@ -2,16 +2,16 @@ It's suggested you check sources of some KDE CVS decoration if in doubts or in n Also, the API is documented in the .h header files. Makefile.am: -- Change kwin_ to kwin3_ (in LDFLAGS, LIBADD, kde_module_LTLIBRARIES, SOURCES). +- Change twin_ to twin3_ (in LDFLAGS, LIBADD, kde_module_LTLIBRARIES, SOURCES). - Make sure LDFLAGS contains $(KDE_PLUGIN) and -module . - Add -ltdecorations to LIBADD. -- Do NOT rename the directory where the .desktop file is installed ( $(kde_datadir)/kwin/ ). +- Do NOT rename the directory where the .desktop file is installed ( $(kde_datadir)/twin/ ). .desktop file: -- Change kwin_ to kwin3_ in X-KDE-Library. +- Change twin_ to twin3_ in X-KDE-Library. Sources: -- There are no kwin/something.h includes, and don't use the KWinInternal namespace. +- There are no twin/something.h includes, and don't use the KWinInternal namespace. - Use QToolTip instead of KWinToolTip. - Use QButton instead of KWinButton, QToolButton instead of KWinToolButton and QWidget instead of KWinWidgetButton. @@ -154,6 +154,6 @@ extern "C" - Review mousePosition() if it's implemented. Position constants need 'Position' prepended, e.g. Top -> PositionTop. - Note that you cannot use "appdata" with KStandardDirs, as the decoration will be used - also in other applications than kwin. + also in other applications than twin. - Implement all missing pure virtual functions. For mousePosition(), you may call KDecoration::mousePosition() if it's sufficient. -- cgit v1.2.1