00001 /*************************************************************************** 00002 * * 00003 * mainwindowimpl.h * 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 * Read the file COPYING for details. * 00011 * * 00012 * copyright: (C) 2003 by Jan Mueller * 00013 * email: janmueller7@hotmail.com * 00014 * * 00015 ***************************************************************************/ 00016 00017 #include "mainwindow.h" 00018 00019 00020 class QLineEdit; 00021 class UrlEvent; 00022 class QCloseEvent; 00023 class ReadOnlyFormBase; 00024 class LitUrl; 00025 00038 class MainWindowImpl: public MainWindow { 00039 Q_OBJECT 00040 00041 private: 00042 MainWindowImpl(const MainWindowImpl&); 00043 MainWindowImpl& operator=(const MainWindowImpl&); 00044 void setupBackForward(); 00045 ReadOnlyFormBase *widget; 00046 void closeEvent(QCloseEvent *e); 00047 00048 public: 00049 MainWindowImpl(QWidget *parent=0, const char *name=0); 00050 void setupWidget(QWidget *widget); 00051 void showAuthor(LitUrl url); 00052 void showPublication(LitUrl url); 00053 void showBibliography( LitUrl url ); 00054 void showAuthorOverview(LitUrl url); 00055 void showNoteOverview(LitUrl url); 00056 void showPublOverview(LitUrl url); 00057 void showPublisherOverview(LitUrl url); 00058 void showJournalOverview(LitUrl url); 00059 void showProjectOverview(LitUrl url); 00060 void showState(LitUrl url); 00061 void showSearch(LitUrl url); 00062 void showPart(LitUrl url); 00063 void showPartMemo(LitUrl url); 00064 void showFile(LitUrl url); 00065 void showNote(LitUrl url); 00066 void showJournal(LitUrl url); 00067 void showPublisher(LitUrl url); 00068 void showProject(LitUrl url); 00071 void customEvent(QCustomEvent *e); 00072 ~MainWindowImpl(); 00073 void back(); 00074 void forward(); 00075 };