00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __KonqViewIface_h__
00022 #define __KonqViewIface_h__
00023
00024 #include <dcopobject.h>
00025 #include <tqstringlist.h>
00026 #include <dcopref.h>
00027
00028 class KonqView;
00029
00033 class KonqViewIface : virtual public DCOPObject
00034 {
00035 K_DCOP
00036 public:
00037
00038 KonqViewIface( KonqView * view, const TQCString& name );
00039 ~KonqViewIface();
00040
00041 k_dcop:
00042
00047 void openURL( TQString url,
00048 const TQString & locationBarURL,
00049 const TQString & nameFilter );
00050
00052 void reload();
00053
00060 bool changeViewMode( const TQString &serviceType,
00061 const TQString &serviceName );
00062
00067 void lockHistory();
00068
00072 void stop();
00073
00077 TQString url();
00078
00083 TQString locationBarURL();
00084
00088 TQString serviceType();
00089
00093 TQStringList serviceTypes();
00094
00098 DCOPRef part();
00099
00103 void enablePopupMenu( bool b );
00104
00105
00106 bool isPopupMenuEnabled() const;
00107
00108
00109
00110
00111 uint historyLength()const;
00112
00113
00114
00115 bool allowHTML() const;
00116
00117
00118
00119
00120 void goForward();
00121
00122
00123
00124 void goBack();
00125
00126 bool canGoBack()const;
00127 bool canGoForward()const;
00128
00129 private:
00130
00131 KonqView * m_pView;
00132
00133 };
00134
00135 #endif
00136