• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

kompare

Public Slots | Public Member Functions | Protected Member Functions | List of all members
KompareShell Class Reference

#include <kompare_shell.h>

Inherits MainWindow.

Public Slots

void slotUpdateStatusBar (int modelIndex, int differenceIndex, int modelCount, int differenceCount, int appliedCount)
 
KompareInterface * viewPart () const
 

Public Member Functions

 KompareShell ()
 
virtual ~KompareShell ()
 
void blend (const KUrl &url1, const KUrl &diff)
 
void compare (const KUrl &source, const KUrl &destination)
 
void openDiff (const KUrl &url)
 
void openStdin ()
 

Protected Member Functions

virtual bool queryClose ()
 
void readProperties (const KConfigGroup &)
 
void saveProperties (KConfigGroup &)
 

Detailed Description

This is the application "Shell".

It has a menubar, toolbar, and statusbar but relies on the "Part" to do all the real work.

Adapted the shell a bit so it now handles separate view and navigation parts

Application Shell

Author
John Firebaugh jfire.nosp@m.baug.nosp@m.h@kde.nosp@m..org
Otto Bruggeman brugg.nosp@m.ie@h.nosp@m.ome.n.nosp@m.l
Version
3.2.90

Definition at line 54 of file kompare_shell.h.

Constructor & Destructor Documentation

KompareShell::KompareShell ( )

Default Constructor.

Definition at line 50 of file kompare_shell.cpp.

KompareShell::~KompareShell ( )
virtual

Default Destructor.

Definition at line 145 of file kompare_shell.cpp.

Member Function Documentation

void KompareShell::blend ( const KUrl &  url1,
const KUrl &  diff 
)

Use this method to blend diff into url1 (file or directory)

Definition at line 187 of file kompare_shell.cpp.

void KompareShell::compare ( const KUrl &  source,
const KUrl &  destination 
)

Use this method to compare 2 URLs (files or directories)

Definition at line 179 of file kompare_shell.cpp.

void KompareShell::openDiff ( const KUrl &  url)

Use this method to load whatever file/URL you have.

Definition at line 157 of file kompare_shell.cpp.

void KompareShell::openStdin ( )

Use this method to load the diff from stdin.

Definition at line 164 of file kompare_shell.cpp.

bool KompareShell::queryClose ( )
protectedvirtual

Definition at line 149 of file kompare_shell.cpp.

void KompareShell::readProperties ( const KConfigGroup &  config)
protected

This method is called when this app is restored.

The KConfig object points to the session management config file that was saved with saveProperties

Definition at line 279 of file kompare_shell.cpp.

void KompareShell::saveProperties ( KConfigGroup &  config)
protected

This method is called when it is time for the app to save its properties for session management purposes.

Definition at line 259 of file kompare_shell.cpp.

void KompareShell::slotUpdateStatusBar ( int  modelIndex,
int  differenceIndex,
int  modelCount,
int  differenceCount,
int  appliedCount 
)
slot

Definition at line 232 of file kompare_shell.cpp.

KompareInterface * KompareShell::viewPart ( ) const
slot

Definition at line 463 of file kompare_shell.cpp.


The documentation for this class was generated from the following files:
  • kompare_shell.h
  • kompare_shell.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kompare

Skip menu "kompare"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal