~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to parts/snippet/snippetdlg.ui.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2006-05-23 18:39:42 UTC
  • Revision ID: james.westby@ubuntu.com-20060523183942-hucifbvh68k2bwz7
Tags: upstream-3.3.2
Import upstream version 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  File : snippetdlg.ui.h
 
3
 *
 
4
 *  Author: Robert Gruber <rgruber@users.sourceforge.net>
 
5
 *
 
6
 *  Copyright: See COPYING file that comes with this distribution
 
7
 */
 
8
/****************************************************************************
 
9
** ui.h extension file, included from the uic-generated form implementation.
 
10
**
 
11
** If you wish to add, delete or rename functions or slots use
 
12
** Qt Designer which will update this file, preserving your code. Create an
 
13
** init() function in place of a constructor, and a destroy() function in
 
14
** place of a destructor.
 
15
*****************************************************************************/
 
16
#include <kmessagebox.h>
 
17
 
 
18
void SnippetDlg::slotHelp()
 
19
{
 
20
    KMessageBox::information(this, i18n("To use variables in a snippet, you just have to enclose the variablename with $-characters. When you use the snippet, you will then be asked for a value for this variable. \nExample snippet: This is a $VAR$\nWhen you use this snippet you will be prompted for a value for the variable $VAR$. Any occourences of $VAR$ will then be replaced with whatever you've entered.\nIf you need a single $-character in a snippet, which is not used to enclose a variable, type $$(two dollar characters) instead. They will automatically be replaced with a single $-character when you use the snippet.\nIf you want to change the default delimiter to anything different, please use the settings dialog to do so."), i18n("Snippet help"));
 
21
}