mirror of
https://bitbucket.org/smil3y/kde-playground.git
synced 2025-02-24 02:42:51 +00:00
pykde4: fix build of kparts bindings
This commit is contained in:
parent
59ad2b98e4
commit
18d4392e17
3 changed files with 0 additions and 5 deletions
|
@ -46,7 +46,6 @@ public:
|
||||||
Cancel
|
Cancel
|
||||||
};
|
};
|
||||||
|
|
||||||
static KParts::BrowserRun::AskSaveResult askSave (const KUrl& url, KService::Ptr offer, const QString& mimeType, const QString& suggestedFileName = QString());
|
|
||||||
|
|
||||||
enum AskEmbedOrSaveFlags
|
enum AskEmbedOrSaveFlags
|
||||||
{
|
{
|
||||||
|
@ -54,7 +53,6 @@ public:
|
||||||
AttachmentDisposition
|
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);
|
virtual void save (const KUrl& url, const QString& suggestedFileName);
|
||||||
static void simpleSave (const KUrl& url, const QString& suggestedFileName, QWidget* window = 0);
|
static void simpleSave (const KUrl& url, const QString& suggestedFileName, QWidget* window = 0);
|
||||||
static bool allowExecution (const QString& mimeType, const KUrl& url);
|
static bool allowExecution (const QString& mimeType, const KUrl& url);
|
||||||
|
|
|
@ -31,7 +31,6 @@ class MainWindow : KXmlGuiWindow, KParts::PartBase
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit MainWindow (QWidget* parent /TransferThis/ = 0, Qt::WindowFlags f = 0);
|
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 ();
|
virtual void configureToolbars ();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
|
@ -168,8 +168,6 @@ protected:
|
||||||
virtual bool openFile ()=0;
|
virtual bool openFile ()=0;
|
||||||
void abortLoad ();
|
void abortLoad ();
|
||||||
virtual void guiActivateEvent (KParts::GUIActivateEvent* event);
|
virtual void guiActivateEvent (KParts::GUIActivateEvent* event);
|
||||||
bool isLocalFileTemporary () const;
|
|
||||||
void setLocalFileTemporary (bool temp);
|
|
||||||
void setUrl (const KUrl& url);
|
void setUrl (const KUrl& url);
|
||||||
QString localFilePath () const;
|
QString localFilePath () const;
|
||||||
void setLocalFilePath (const QString& localFilePath);
|
void setLocalFilePath (const QString& localFilePath);
|
||||||
|
|
Loading…
Add table
Reference in a new issue