summaryrefslogtreecommitdiffabout
path: root/libkdepim/kprefsdialog.cpp
authorulf69 <ulf69>2004-06-29 06:30:43 (UTC)
committer ulf69 <ulf69>2004-06-29 06:30:43 (UTC)
commit2d5b376ae1329d82d1ce1947b972b30866abff9b (patch) (side-by-side diff)
tree972d674c2c3939ed60c5a4a0c0ae33328ee47674 /libkdepim/kprefsdialog.cpp
parent5bfd50da45591c581a7703d442b250e6e5294d9f (diff)
downloadkdepimpi-2d5b376ae1329d82d1ce1947b972b30866abff9b.zip
kdepimpi-2d5b376ae1329d82d1ce1947b972b30866abff9b.tar.gz
kdepimpi-2d5b376ae1329d82d1ce1947b972b30866abff9b.tar.bz2
removed references to moc files
Diffstat (limited to 'libkdepim/kprefsdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/kprefsdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkdepim/kprefsdialog.cpp b/libkdepim/kprefsdialog.cpp
index 3a39ea9..205c526 100644
--- a/libkdepim/kprefsdialog.cpp
+++ b/libkdepim/kprefsdialog.cpp
@@ -10,97 +10,97 @@
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.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
As a special exception, permission is given to link this program
with any edition of Qt, and distribute the resulting executable,
without including the source code for Qt in the source distribution.
*/
// $Id$
#include <qlayout.h>
#include <qlabel.h>
#include <qgroupbox.h>
#include <qbuttongroup.h>
#include <qlineedit.h>
#include <qfont.h>
#include <qslider.h>
#include <qfile.h>
#include <qtextstream.h>
#include <qvbox.h>
#include <qhbox.h>
#include <qspinbox.h>
#include <qdatetime.h>
#include <qframe.h>
#include <qcombobox.h>
#include <qcheckbox.h>
#include <qradiobutton.h>
#include <qpushbutton.h>
#include <qapplication.h>
#include <kcolorbutton.h>
#include <kdebug.h>
#include <klocale.h>
#include <kglobal.h>
#include <kfontdialog.h>
#include <kmessagebox.h>
#include <kcolordialog.h>
#include <kiconloader.h>
#include "kprefs.h"
#include "kprefsdialog.h"
-#include "kprefsdialog.moc"
+//#include "kprefsdialog.moc"
KPrefsWidBool::KPrefsWidBool(const QString &text,bool *reference,
QWidget *parent)
{
mReference = reference;
mCheck = new QCheckBox(text,parent);
}
void KPrefsWidBool::readConfig()
{
mCheck->setChecked(*mReference);
}
void KPrefsWidBool::writeConfig()
{
*mReference = mCheck->isChecked();
}
QCheckBox *KPrefsWidBool::checkBox()
{
return mCheck;
}
KPrefsWidColor::KPrefsWidColor(const QString &text,QColor *reference,
QWidget *parent)
{
mReference = reference;
mButton = new KColorButton(parent);
mLabel = new QLabel(mButton, text, parent);
mButton->setColor( *mReference );
mButton->setColor( Qt::red );
}
KPrefsWidColor::~KPrefsWidColor()
{
// kdDebug(5300) << "KPrefsWidColor::~KPrefsWidColor()" << endl;
}
void KPrefsWidColor::readConfig()
{
mButton->setColor(*mReference);
}
void KPrefsWidColor::writeConfig()