Back to index

kdeartwork  4.3.2
Classes | Defines | Functions
pendulum.cpp File Reference

KPendulum screen saver for KDE. More...

#include <cstdlib>
#include <QLineEdit>
#include <QSpinBox>
#include <QValidator>
#include <QColorDialog>
#include <QPushButton>
#include <QToolTip>
#include <QResizeEvent>
#include <KLocale>
#include <KGlobal>
#include <KConfig>
#include <KDebug>
#include <KMessageBox>
#include <Eigen/Core>
#include <Eigen/Geometry>
#include "sspreviewarea.h"
#include "pendulum.h"
#include <kcolordialog.h>
#include "pendulum.moc"

Go to the source code of this file.


class  KPendulumSaverInterface


#define QT_NO_COMPAT
#define KPENDULUM_VERSION   "2.0"
#define M_PI   3.14159265358979323846


int main (int argc, char *argv[])

Detailed Description

KPendulum screen saver for KDE.

The screen saver displays a physically realistic simulation of a two-part pendulum.

Copyright (C) 2004 Georg Drenkhahn,

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License or (at your option) version 3 or any later version accepted by the membership of KDE e.V. (or its successor approved by the membership of KDE e.V.), which shall act as a proxy defined in Section 14 of version 3 of the license.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Definition in file pendulum.cpp.

Define Documentation

#define KPENDULUM_VERSION   "2.0"

Definition at line 57 of file pendulum.cpp.

#define M_PI   3.14159265358979323846

Definition at line 60 of file pendulum.cpp.

#define QT_NO_COMPAT

Definition at line 23 of file pendulum.cpp.

Function Documentation

int main ( int  argc,
char *  argv[] 

Definition at line 90 of file pendulum.cpp.

   KPendulumSaverInterface kss;
   return kScreenSaverMain(argc, argv, kss);