|
|
@ -1,10 +1,3 @@
|
|
|
|
/*
|
|
|
|
|
|
|
|
* This source code refers to the MacStyle style. It is marked as obsolete
|
|
|
|
|
|
|
|
* in tqnamespace.h and is not defined when TQT_NO_COMPAT is set.
|
|
|
|
|
|
|
|
* Therefore, TQT_NO_COMPAT is forced to be canceled here.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#undef TQT_NO_COMPAT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "config.h"
|
|
|
|
#include "config.h"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
@ -2893,10 +2886,6 @@ int LiquidStyle::styleHint(StyleHint sh,
|
|
|
|
{
|
|
|
|
{
|
|
|
|
switch (sh)
|
|
|
|
switch (sh)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
case TQStyle::SH_GUIStyle:
|
|
|
|
|
|
|
|
// if (w && ::tqt_cast<TQMenuBar*>(w))
|
|
|
|
|
|
|
|
// return WindowsStyle;
|
|
|
|
|
|
|
|
return MacStyle;
|
|
|
|
|
|
|
|
case TQStyle::SH_TabBar_Alignment:
|
|
|
|
case TQStyle::SH_TabBar_Alignment:
|
|
|
|
if (optionHandler->CenterTabs() && !TQApplication::reverseLayout())
|
|
|
|
if (optionHandler->CenterTabs() && !TQApplication::reverseLayout())
|
|
|
|
return AlignHCenter;
|
|
|
|
return AlignHCenter;
|
|
|
|