Rename kwin to twin (part 1 of 2)

pull/1/head
Timothy Pearson 13 years ago
parent 17b062f3bf
commit 77cbe430ea

@ -49,7 +49,7 @@
1.3.0 1.3.0
----- -----
1. Add option to use kwin titlebar colours as menubar shade. 1. Add option to use twin titlebar colours as menubar shade.
2. Fix(?) compilation of config module. 2. Fix(?) compilation of config module.
3. Dont use KStandardDirs to create config folder. 3. Dont use KStandardDirs to create config folder.
4. Use 'kde' to disable parent-less dialog fix for all KDE applications. 4. Use 'kde' to disable parent-less dialog fix for all KDE applications.

@ -7943,7 +7943,7 @@ const TQColor * TQtCurveStyle::getMdiColors(const TQColorGroup &cg, bool active)
itsActiveMdiTextColor=cg.text(); itsActiveMdiTextColor=cg.text();
itsMdiTextColor=cg.text(); itsMdiTextColor=cg.text();
// Try to read kwin's settings... // Try to read twin's settings...
if(useTQt3Settings()) if(useTQt3Settings())
{ {
TQFile f(TQDir::homeDirPath()+"/.qt/qtrc"); TQFile f(TQDir::homeDirPath()+"/.qt/qtrc");
@ -8076,7 +8076,7 @@ void TQtCurveStyle::readMdiPositions() const
itsMdiButtons[1].append(SC_TitleBarCloseButton); itsMdiButtons[1].append(SC_TitleBarCloseButton);
// Read in KWin settings... // Read in KWin settings...
TQFile f(kdeHome(useTQt3Settings())+"/share/config/kwinrc"); TQFile f(kdeHome(useTQt3Settings())+"/share/config/twinrc");
if(f.open(IO_ReadOnly)) if(f.open(IO_ReadOnly))
{ {
@ -8108,7 +8108,7 @@ void TQtCurveStyle::readMdiPositions() const
f.close(); f.close();
} }
// Designer uses shade buttons, not min/max - so if we dont have shade in our kwin config. then add this // Designer uses shade buttons, not min/max - so if we dont have shade in our twin config. then add this
// button near the max button... // button near the max button...
if(-1==itsMdiButtons[0].findIndex(SC_TitleBarShadeButton) && -1==itsMdiButtons[1].findIndex(SC_TitleBarShadeButton)) if(-1==itsMdiButtons[0].findIndex(SC_TitleBarShadeButton) && -1==itsMdiButtons[1].findIndex(SC_TitleBarShadeButton))
{ {

Loading…
Cancel
Save