Logo Search packages:      
Sourcecode: gtk-kde4 version File versions  Download package

form1.h

/***************************************************************************
 *   Copyright (C) 2008 by Apocalypse                                *
 *   muwee@gala.net                                            *
 *                                                                         *
 *   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) any later version.                                   *
 *                                                                         *
 *   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.             *
 ***************************************************************************/


#ifndef FORM1_H
#define FORM1_H
#include <QtGui/QtGui>
#include <kcmodule.h>
#include "ui_form.h"
//
class form1 : public KCModule, public Ui::form
{
Q_OBJECT
public:
      form1( QWidget * parent = 0, const QVariantList& = QVariantList() );
      void load();
      void save();
      void defaults();
private slots:
      //void OKReleased();
      void AboutReleased();
      void CFReleased();
      void com1Ch();
      void rus();
      void ger();
      void ukr();
      void bel();
      void rom();
      void fra();
      void spa();
      void ita();
      void pol();
      void esp();
      void chi();
private:
      QFile file, varfile, index;
      QStringList filesel, hilesel, arg, colors;
      QList<QColor> wincol;
      QDir dir, dirqt;
      int i,j, fsz, r,g,b, p, state, x, z, c1,c2;
      QString varstr, fstr, fst, fw, prog, gtkrc2, gtkrc, kdehome, line, curText, hometh, chtime, time;
      QProcess proc;
      QPixmap pix,main, wpix, bpix;
      QImage img; 
      QCursor curs;
      QPoint point;
      QBrush brush;
      QColor col;
      QTransform rota;
      QWidget page1, page2;
      QPalette pal;
      bool ok;
      QStyleOptionSlider slider;
      QRect rect;
      QTableWidgetItem tableitem;
      QSettings* sett;
protected:
      virtual void resizeEvent(QResizeEvent* event);
      virtual void enterEvent(QEvent*);
      virtual void closeEvent(QCloseEvent* event);
};

class about1 : public QDialog
{
Q_OBJECT
public:
      about1(QWidget *parent=0);
/*private slots:
      void ok();*/
private:
      QFont font;
};
#endif





Generated by  Doxygen 1.6.0   Back to index