unbreak compilation (gcc 3.4+)

svn path=/trunk/kdebase/kcontrol/; revision=239225
icc-effect-5.14.5
Dirk Mueller 2003-07-26 10:41:28 +00:00
parent ca09935838
commit 6bbbe69c0e
40 changed files with 44 additions and 44 deletions

View File

@ -109,7 +109,7 @@ public:
QCString windowRole;
};
};
}
// put all externs before the namespace statement to allow the linker
// to resolve them properly

View File

@ -527,6 +527,6 @@ public:
void setShade( bool , int ){}
};
};
}
#endif

View File

@ -142,7 +142,7 @@ B2Button::B2Button(Client *_client, QWidget *parent, const QString& tip)
client = _client;
useMiniIcon = false;
setFixedSize(16,16);
};
}
QSize B2Button::sizeHint() const
@ -958,7 +958,7 @@ void B2Client::positionButtons()
titlebar->move(bar_x_ofs, 0);
}
};
}
extern "C"
{

View File

@ -126,6 +126,6 @@ private:
int in_unobs;
};
};
}
#endif

View File

@ -1100,7 +1100,7 @@ void KDEDefaultClient::menuButtonReleased()
closeWindow();
}
};
}
// Extended KWin plugin interface
extern "C"

View File

@ -117,7 +117,7 @@ class KDEDefaultClient : public Client
bool m_closing;
};
};
}
#endif
// vim: ts=4

View File

@ -1457,7 +1457,7 @@ Client::MousePosition KeramikClient::mousePosition( const QPoint &p ) const
return Nowhere;
}
}; // namespace Keramik
} // namespace Keramik

View File

@ -799,7 +799,7 @@ void KWMThemeClient::init()
//
}
};
}
extern "C"
{

View File

@ -54,7 +54,7 @@ private:
QGridLayout* layout;
};
};
}
#endif

View File

@ -683,7 +683,7 @@ LaptopClient::mousePosition( const QPoint& p ) const
return m;
}
};
}
extern "C"
{

View File

@ -82,6 +82,6 @@ private:
int lastBufferWidth;
};
};
}
#endif

View File

@ -615,7 +615,7 @@ Client::MousePosition ModernSys::mousePosition( const QPoint& p) const
return m;
}
};
}
// KWin extended plugin interface
extern "C"

View File

@ -68,6 +68,6 @@ private:
QString oldTitle;
};
};
}
#endif

View File

@ -798,7 +798,7 @@ void QuartzClient::menuButtonPressed()
button[BtnMenu]->setDown(false);
}
};
}
// Extended KWin plugin interface
/////////////////////////////////

View File

@ -112,7 +112,7 @@ class QuartzClient : public Client
QSpacerItem* titlebar;
};
};
}
#endif
// vim: ts=4

View File

@ -784,7 +784,7 @@ void GalliumClient::menuButtonReleased()
closeWindow();
}
};
}
extern "C"
{

View File

@ -98,7 +98,7 @@ class GalliumClient : public Client
bool closing;
};
};
}
#endif
// vim: ts=4

View File

@ -511,7 +511,7 @@ WebClient::animateIconifyOrDeiconify(bool /* iconify */)
// Nice and simple ;)
}
};
}
#include "Web.moc"
// vim:ts=2:sw=2:tw=78:set et:

View File

@ -252,7 +252,7 @@ WebButton::resizeEvent(QResizeEvent *)
repaint();
}
};
}
#include "WebButton.moc"
// vim:ts=2:sw=2:tw=78:set et:

View File

@ -44,7 +44,7 @@ WebButtonClose::clickEvent(int /* button */)
emit(closeWindow());
}
};
}
#include "WebButtonClose.moc"
// vim:ts=2:sw=2:tw=78:set et:

View File

@ -45,7 +45,7 @@ WebButtonHelp::clickEvent(int /* button */)
emit(help());
}
};
}
#include "WebButtonHelp.moc"
// vim:ts=2:sw=2:tw=78:set et:

View File

@ -44,7 +44,7 @@ WebButtonIconify::clickEvent(int /* button */)
emit(iconify());
}
};
}
#include "WebButtonIconify.moc"
// vim:ts=2:sw=2:tw=78:set et:

View File

@ -44,7 +44,7 @@ WebButtonLower::clickEvent(int /* button */)
emit(lowerWindow());
}
};
}
#include "WebButtonLower.moc"
// vim:ts=2:sw=2:tw=78:set et:

View File

@ -58,7 +58,7 @@ WebButtonMaximize::clickEvent(int button)
emit(maximize(button));
}
};
}
#include "WebButtonMaximize.moc"
// vim:ts=2:sw=2:tw=78:set et:

View File

@ -58,7 +58,7 @@ WebButtonSticky::clickEvent(int /* button */)
emit(toggleSticky());
}
};
}
#include "WebButtonSticky.moc"
// vim:ts=2:sw=2:tw=78:set et:

View File

@ -25,6 +25,6 @@ class GeometryTip: public QLabel
const Client* c;
};
};
}
#endif

View File

@ -137,7 +137,7 @@ ButtonSource::ButtonSource( QWidget* parent, const char* name )
spacerCount = 0; // No spacers inserted yet
setAcceptDrops( TRUE );
};
}
ButtonSource::~ButtonSource()

View File

@ -43,7 +43,7 @@
// KCModule plugin interface
// =========================
typedef KGenericFactory<KWinDecorationModule, QWidget> KWinDecoFactory;
K_EXPORT_COMPONENT_FACTORY( kcm_kwindecoration, KWinDecoFactory("kcmkwindecoration") );
K_EXPORT_COMPONENT_FACTORY( kcm_kwindecoration, KWinDecoFactory("kcmkwindecoration") )
KWinDecorationModule::KWinDecorationModule(QWidget* parent, const char* name, const QStringList &)
: DCOPObject("KWinClientDecoration"), KCModule(KWinDecoFactory::instance(), parent, name),

View File

@ -23,6 +23,6 @@ private:
Workspace* workspace;
};
};
}
#endif

View File

@ -112,7 +112,7 @@ class KWinWidgetButton: public QWidget
};
};
}
#endif
// vim: ts=4

View File

@ -39,7 +39,7 @@ using namespace KWinInternal;
namespace KWinInternal {
Options* options;
};
}
Atoms* atoms;

View File

@ -33,7 +33,7 @@ public:
int electric_border_delay;
bool show_geometry_tip;
};
};
}
#define colors (d->colors)
#define cg (d->cg)

View File

@ -364,6 +364,6 @@ private:
extern Options* options;
}; // namespace
} // namespace
#endif

View File

@ -35,7 +35,7 @@ public:
Workspace* m_WorkspacePtr;
};
};
}
Placement::Placement(Workspace* w)
{

View File

@ -43,6 +43,6 @@ private:
};
};
}
#endif

View File

@ -40,6 +40,6 @@ protected:
QCString defaultPlugin;
};
};
}
#endif

View File

@ -38,6 +38,6 @@ private:
QString m_infoString;
};
};
}
#endif

View File

@ -82,6 +82,6 @@ inline TabBox::Mode TabBox::mode() const
return m;
}
};
}
#endif

View File

@ -135,7 +135,7 @@ public:
QRect* workarea; // array of workareas for virtual desktops
};
};
}
using namespace KWinInternal;
@ -3009,10 +3009,10 @@ void Workspace::slotGrabWindow()
QMemArray<QRect> maskedAwayRects = maskedAway.rects();
//Fill the masked away area with black.
QPainter p(&p);
QPainter pt(&p);
for (uint pos = 0; pos < maskedAwayRects.count(); pos++)
p.fillRect(maskedAwayRects[pos], Qt::black);
p.end();
pt.fillRect(maskedAwayRects[pos], Qt::black);
pt.end();
}
}

View File

@ -522,6 +522,6 @@ inline void Workspace::showWindowMenu(QPoint pos, Client* cl)
}
};
}
#endif