• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop Generic Shell
 

KDevelop Generic Shell

Public Slots | Public Member Functions | Static Public Member Functions | List of all members
PartController Class Reference

#include <partcontroller.h>

Inherits KDevPartController.

Public Slots

void slotActivePartChanged (KParts::Part *part)
 
void slotCloseWindow ()
 
void slotCloseOtherWindows ()
 
void slotCloseAllWindows ()
 
void slotSave ()
 
void slotReload ()
 

Public Member Functions

 PartController (TQWidget *toplevel)
 
void setEncoding (const TQString &encoding)
 
void editDocument (const KURL &inputUrl, int lineNum=-1, int col=-1)
 
void splitCurrentDocument (const KURL &inputUrl, int lineNum=-1, int col=-1)
 
void scrollToLineColumn (const KURL &url, int lineNum=-1, int col=-1, bool storeHistory=false)
 
void editDocumentInternal (const KURL &inputUrl, int lineNum=-1, int col=-1, bool activate=true, bool addToCurrentBuffer=false)
 
void integrateTextEditorPart (KTextEditor::Document *doc)
 
void showDocument (const KURL &url, bool newWin=false)
 
void showPart (KParts::Part *part, const TQString &name, const TQString &shortDescription)
 
KParts::ReadOnlyPart * partForURL (const KURL &url)
 
KParts::ReadOnlyPart * qtDesignerPart ()
 
KParts::Part * partForWidget (const TQWidget *widget)
 
void activatePart (KParts::Part *part)
 
bool closePart (KParts::Part *part)
 
KURL::List openURLs ()
 
bool querySaveFiles ()
 
bool saveAllFiles ()
 
bool saveFiles (const KURL::List &list)
 
bool saveFile (const KURL &url, bool force=false)
 
void revertAllFiles ()
 
void revertFiles (const KURL::List &list)
 
bool closeAllFiles ()
 
bool closeFiles (const KURL::List &list)
 
DocumentState documentState (KURL const &)
 
bool readyToClose ()
 
bool closeFile (const KURL &)
 
bool closeAllOthers (const KURL &)
 
void reloadFile (const KURL &url)
 
KTextEditor::Editor * openTextDocument (bool activate=true)
 
KParts::Factory * findPartFactory (const TQString &mimeType, const TQString &partType, const TQString &preferredName=TQString())
 

Static Public Member Functions

static void createInstance (TQWidget *parent)
 
static PartController * getInstance ()
 

Detailed Description

Part controler implementation.

Definition at line 43 of file partcontroller.h.

Member Function Documentation

◆ showPart()

void PartController::showPart ( KParts::Part *  part,
const TQString &  name,
const TQString &  shortDescription 
)
Todo:
error handling

Definition at line 1340 of file partcontroller.cpp.


The documentation for this class was generated from the following files:
  • partcontroller.h
  • partcontroller.cpp

KDevelop Generic Shell

Skip menu "KDevelop Generic Shell"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDevelop Generic Shell

Skip menu "KDevelop Generic Shell"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for KDevelop Generic Shell by doxygen 1.8.13
This website is maintained by Timothy Pearson.