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

knode

Static Public Member Functions | List of all members
KNHelper Class Reference

#include <utilities.h>

Static Public Member Functions

static const QString decryptStr (const QString &aStr)
 
static void displayExternalFileError (QWidget *w=0)
 
static void displayInternalFileError (QWidget *w=0)
 
static void displayRemoteFileError (QWidget *w=0)
 
static void displayTempFileError (QWidget *w=0)
 
static const QString encryptStr (const QString &aStr)
 
static int findStringInFile (QFile *file, const char *str)
 
static void restoreWindowSize (const QString &name, QWidget *d, const QSize &defaultSize)
 
static QString rewrapStringList (const QStringList &text, int wrapAt, QChar quoteChar, bool stopAtSig, bool alwaysSpace)
 
static void saveWindowSize (const QString &name, const QSize &s)
 
static int selectDialog (QWidget *parent, const QString &caption, const QStringList &options, int initialValue)
 

Detailed Description

Some static helper methods.

Definition at line 86 of file utilities.h.

Member Function Documentation

const QString KNHelper::decryptStr ( const QString &  aStr)
static

Definition at line 245 of file utilities.cpp.

void KNHelper::displayExternalFileError ( QWidget *  w = 0)
static

use this for all external files

Definition at line 350 of file utilities.cpp.

void KNHelper::displayInternalFileError ( QWidget *  w = 0)
static

use this for all internal files

Definition at line 344 of file utilities.cpp.

void KNHelper::displayRemoteFileError ( QWidget *  w = 0)
static

use this for remote files

Definition at line 356 of file utilities.cpp.

void KNHelper::displayTempFileError ( QWidget *  w = 0)
static

use this for error on temporary files

Definition at line 362 of file utilities.cpp.

const QString KNHelper::encryptStr ( const QString &  aStr)
static

Definition at line 228 of file utilities.cpp.

int KNHelper::findStringInFile ( QFile *  file,
const char *  str 
)
static

Searches for the string from the current file position.

Returns -1 if the string wasn't found.

Definition at line 369 of file utilities.cpp.

void KNHelper::restoreWindowSize ( const QString &  name,
QWidget *  d,
const QSize &  defaultSize 
)
static

Definition at line 212 of file utilities.cpp.

QString KNHelper::rewrapStringList ( const QStringList &  text,
int  wrapAt,
QChar  quoteChar,
bool  stopAtSig,
bool  alwaysSpace 
)
static

used for rewarping a text when replying to a message or inserting a file into a box

Definition at line 286 of file utilities.cpp.

void KNHelper::saveWindowSize ( const QString &  name,
const QSize &  s 
)
static

Definition at line 205 of file utilities.cpp.

int KNHelper::selectDialog ( QWidget *  parent,
const QString &  caption,
const QStringList &  options,
int  initialValue 
)
static

list selection dialog, used instead of a popup menu when a select action is called via the keyboard.

returns -1 when the user canceled the dialog.

Definition at line 163 of file utilities.cpp.


The documentation for this class was generated from the following files:
  • utilities.h
  • utilities.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

knode

Skip menu "knode"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

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