pykde4: fix build of kparts bindings

This commit is contained in:
Ivailo Monev 2015-03-02 15:08:47 +00:00
parent 59ad2b98e4
commit 18d4392e17
3 changed files with 0 additions and 5 deletions

View file

@ -46,7 +46,6 @@ public:
Cancel
};
static KParts::BrowserRun::AskSaveResult askSave (const KUrl& url, KService::Ptr offer, const QString& mimeType, const QString& suggestedFileName = QString());
enum AskEmbedOrSaveFlags
{
@ -54,7 +53,6 @@ public:
AttachmentDisposition
};
static KParts::BrowserRun::AskSaveResult askEmbedOrSave (const KUrl& url, const QString& mimeType, const QString& suggestedFileName = QString(), int flags = 0);
virtual void save (const KUrl& url, const QString& suggestedFileName);
static void simpleSave (const KUrl& url, const QString& suggestedFileName, QWidget* window = 0);
static bool allowExecution (const QString& mimeType, const KUrl& url);

View file

@ -31,7 +31,6 @@ class MainWindow : KXmlGuiWindow, KParts::PartBase
public:
explicit MainWindow (QWidget* parent /TransferThis/ = 0, Qt::WindowFlags f = 0);
explicit MainWindow (QWidget* parent /TransferThis/, const char* name = 0, Qt::WindowFlags f = 0);
virtual void configureToolbars ();
protected:

View file

@ -168,8 +168,6 @@ protected:
virtual bool openFile ()=0;
void abortLoad ();
virtual void guiActivateEvent (KParts::GUIActivateEvent* event);
bool isLocalFileTemporary () const;
void setLocalFileTemporary (bool temp);
void setUrl (const KUrl& url);
QString localFilePath () const;
void setLocalFilePath (const QString& localFilePath);