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

keduca

keducaeditorstartdialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           keducaeditorstartdialog.h  -  description
00003                              -------------------
00004     begin                : Fri May 10 2002
00005     copyright            : (C) 2002 by Klas Kalass
00006     email                : klas@kde.org
00007 ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef KEDUCAEDITORSTARTDIALOG_H
00019 #define KEDUCAEDITORSTARTDIALOG_H
00020 
00021 #ifdef HAVE_CONFIG_H
00022 #include <config.h>
00023 #endif
00024 
00025 #include "keducaeditorstartdialogbase.h"
00026 
00027 // forward declarations
00028 class KEducaBuilder;
00029 
00032 class KEducaEditorStartDialog : public KEducaEditorStartDialogBase{
00033     Q_OBJECT
00034 public:
00035     enum {Rejected=0, OpenDoc=1, OpenRecentDoc=2, Gallery=3, NewDoc=4}StartChoice;
00038     KEducaEditorStartDialog(KEducaBuilder * parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00041     virtual ~KEducaEditorStartDialog();
00042 
00043     KURL getURL()const;
00044     int exec();
00045 
00046 private:
00047     KURL _selectedURL;
00048     int _choice;
00049     unsigned int const _maxRecentDocumentItems;
00050     void buildRecentFilesList();
00051 
00052 protected slots:
00053     void accept();
00054 
00055 private slots:
00056     void slotChoiceChanged(int id);
00057 
00058 };
00059 #endif

keduca

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

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
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