Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

klwlayout.h

00001 /***************************************************************************
00002  *   Copyright (C) 2004 by Christoph                                       *
00003  *   chris@inferno.nadir.org                                               *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   This program is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00019  ***************************************************************************/
00020 #ifndef KLWLAYOUT_H
00021 #define KLWLAYOUT_H
00022 
00023 #include <klwLayoutBase.h>
00024 
00025 #include <kparts/part.h>
00026 #include <kurl.h>
00027 
00028 #include <qlayout.h>
00029 
00030 #include "klwletter.h"
00031 #include "klwlayoutaddress.h"
00032 
00033 class klwLayout : public klwLayoutBase
00034 {
00035 Q_OBJECT
00036     
00037 public:
00038     klwLayout(QWidget *parent = 0, const char *name = 0);
00039     ~klwLayout();
00040     
00041     KParts::ReadOnlyPart *preview_viewer;
00042     klwLayoutAddress *address;
00043     int currentPage;
00044     
00045 public slots:
00046     void toggleDate(int i);
00047     void toggleEnclosures(int i);
00048     void handleTabChange(QWidget*);
00049     void settingsChanged();
00050     void openPS(const KURL&);
00051     void letterOpened(const klwLetter*);
00052 
00053 signals:
00054     void needNewPS();
00055     void needGUIUpdating(bool);
00056     
00057 private:
00058     int i;
00059     bool previewIsUptodate;
00060     KURL PSFile;
00061 };
00062 
00063 
00064 
00065 #endif

Generated on Tue Jun 8 13:04:38 2004 for kletterwizard.kdevelop by doxygen1.3