Fix FTFBS due to commit 54e82466

This resolves Bug 2134
pull/1/head
Timothy Pearson 10 years ago
parent 46617d1b58
commit b87fcaba53

@ -70,7 +70,7 @@ class dotNETstylePlugin : public TQStylePlugin
}
};
TDE_Q_EXPORT_PLUGIN( dotNETstylePlugin )
KDE_Q_EXPORT_PLUGIN( dotNETstylePlugin )
// ---------------------------------------------------

@ -2485,6 +2485,6 @@ TQStyle* PhaseStylePlugin::create(const TQString& key)
return 0;
}
TDE_Q_EXPORT_PLUGIN(PhaseStylePlugin)
KDE_Q_EXPORT_PLUGIN(PhaseStylePlugin)
#include "phasestyle.moc"

@ -390,26 +390,7 @@ void Manager::slotLower()
void Manager::slotMaximizeClicked(ButtonState state)
{
#if TDE_IS_VERSION(3, 3, 0)
maximize(state);
#else
switch (state)
{
case RightButton:
maximize(maximizeMode() ^ MaximizeHorizontal);
break;
case MidButton:
maximize(maximizeMode() ^ MaximizeVertical);
break;
case LeftButton:
default:
maximize(maximizeMode() == MaximizeFull ? MaximizeRestore
: MaximizeFull);
break;
}
#endif
emit(maximizeChanged(maximizeMode() == MaximizeFull));
}

@ -1303,23 +1303,7 @@ void smoothblendClient::showEvent(TQShowEvent *) {
void smoothblendClient::maxButtonPressed() {
if (button[ButtonMax]) {
#if TDE_IS_VERSION(3, 3, 0)
maximize(button[ButtonMax]->lastMousePress());
#else
switch (button[ButtonMax]->lastMousePress()) {
case MidButton:
maximize(maximizeMode() ^ MaximizeVertical);
break;
case RightButton:
maximize(maximizeMode() ^ MaximizeHorizontal);
break;
default:
(maximizeMode() == MaximizeFull) ? maximize(MaximizeRestore)
: maximize(MaximizeFull);
}
#endif
}
}

Loading…
Cancel
Save