summaryrefslogtreecommitdiffstats
path: root/kwin/clients/PORTING
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-07 20:26:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-07 20:26:07 -0600
commit43d99cc2477266cb9072e179137f0e8485370b3d (patch)
tree0d4d47e5497a1a1465edf8263f57b72725577239 /kwin/clients/PORTING
parent6354e6b3babad3ed0f5e314735bbbc01d1988eb2 (diff)
downloadtdebase-43d99cc2477266cb9072e179137f0e8485370b3d.tar.gz
tdebase-43d99cc2477266cb9072e179137f0e8485370b3d.zip
Rename kwin to twin (part 1 of 2)
Diffstat (limited to 'kwin/clients/PORTING')
-rw-r--r--kwin/clients/PORTING10
1 files changed, 5 insertions, 5 deletions
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.