00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __KonquerorIface_h__
00022 #define __KonquerorIface_h__
00023
00024 #include <dcopobject.h>
00025 #include <tqvaluelist.h>
00026 #include <dcopref.h>
00027
00028 #include <tqstringlist.h>
00032 class KonquerorIface : virtual public DCOPObject
00033 {
00034 K_DCOP
00035 public:
00036
00037 KonquerorIface();
00038 ~KonquerorIface();
00039
00040 k_dcop:
00041
00045 DCOPRef openBrowserWindow( const TQString &url );
00050 DCOPRef openBrowserWindowASN( const TQString &url, const TQCString &startup_id );
00051
00055 DCOPRef createNewWindow( const TQString &url );
00060 DCOPRef createNewWindowASN( const TQString &url, const TQCString &startup_id, bool tempFile );
00061
00065 DCOPRef createNewWindowWithSelection( const TQString &url, TQStringList filesToSelect );
00070 DCOPRef createNewWindowWithSelectionASN( const TQString &url, TQStringList filesToSelect, const TQCString &startup_id );
00071
00076 DCOPRef createNewWindow( const TQString &url, const TQString & mimetype, bool tempFile );
00081 DCOPRef createNewWindowASN( const TQString &url, const TQString & mimetype,
00082 const TQCString &startup_id, bool tempFile );
00083
00088 DCOPRef createBrowserWindowFromProfile( const TQString &path );
00093 DCOPRef createBrowserWindowFromProfileASN( const TQString &path, const TQCString &startup_id );
00094
00101 DCOPRef createBrowserWindowFromProfile( const TQString &path, const TQString &filename );
00106 DCOPRef createBrowserWindowFromProfileASN( const TQString &path, const TQString &filename,
00107 const TQCString &startup_id );
00108
00117 DCOPRef createBrowserWindowFromProfileAndURL( const TQString &path, const TQString &filename, const TQString &url );
00122 DCOPRef createBrowserWindowFromProfileAndURLASN( const TQString &path, const TQString &filename, const TQString &url,
00123 const TQCString &startup_id );
00124
00133 DCOPRef createBrowserWindowFromProfileAndURL( const TQString &path, const TQString &filename, const TQString &url, const TQString &mimetype );
00138 DCOPRef createBrowserWindowFromProfileAndURLASN( const TQString &path, const TQString &filename, const TQString &url, const TQString &mimetype,
00139 const TQCString& startup_id );
00140
00144 ASYNC reparseConfiguration();
00145
00149 TQString crashLogFile();
00150
00154 TQValueList<DCOPRef> getWindows();
00155
00159 ASYNC updateProfileList();
00160
00164 ASYNC addToCombo( TQString, TQCString );
00165
00169 ASYNC removeFromCombo( TQString, TQCString );
00170
00174 ASYNC comboCleared( TQCString );
00175
00180 bool processCanBeReused( int screen );
00181
00186 ASYNC terminatePreloaded();
00187 };
00188
00189 #endif