• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kviewshell

pageSizeDialog.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 /*
00003  *   pageSizeDialog, for kviewshell
00004  *   This file: Copyright (C) 2002-2003 Stefan Kebekus, kebekus@kde.org
00005  *
00006  *   This program is free software; you can redistribute it and/or modify
00007  *   it under the terms of the GNU General Public License as published by
00008  *   the Free Software Foundation; either version 2 of the License, or
00009  *   (at your option) any later version.
00010  *
00011  *   This program is distributed in the hope that it will be useful,
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *   GNU General Public License for more details.
00015  *
00016  *   You should have received a copy of the GNU General Public License
00017  *   along with this program; if not, write to the Free Software
00018  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00019  *
00020  */
00021 #ifndef _PAGESIZE_DIALOG_H_
00022 #define _PAGESIZE_DIALOG_H_
00023 
00024 #include <kdialogbase.h>
00025 
00026 class pageSizeWidget;
00027 class pageSize;
00028 
00029 class pageSizeDialog : public KDialogBase
00030 {
00031   Q_OBJECT
00032     
00033 public:
00034   // Constructs the page size Dialog. The pointer userPrefdPageSize
00035   // points to a pageSize object which will be set the the chosen
00036   // value whenever the user clicks on 'accept' or 'ok'. Programmers
00037   // can then connect to the signal sizeChanged() of the object to be
00038   // informed about the changes.
00039   pageSizeDialog( QWidget *parent=0, pageSize *userPrefdPageSize=0, const char *name=0, bool modal=true);
00040   void setPageSize(const QString&);
00041 
00042 protected slots:
00043   virtual void slotOk();
00044   virtual void slotApply();
00045   
00046  private:
00047   pageSizeWidget *pageSizeW;
00048   pageSize       *userPreferredPageSize;
00049 };
00050 
00051 
00052 #endif

kviewshell

Skip menu "kviewshell"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • kviewshell
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal