|
|
@ -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))
|
|
|
|
{
|
|
|
|
{
|
|
|
|