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

knode

KNHelper Class Reference

#include <utilities.h>

List of all members.


Detailed Description

Some static helper methods.

Definition at line 117 of file 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 QString rot13 (const QString &s)
static void saveWindowSize (const QString &name, const QSize &s)
static int selectDialog (QWidget *parent, const QString &caption, const QStringList &options, int initialValue)

Member Function Documentation

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

Definition at line 244 of file utilities.cpp.

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

use this for all external files

Definition at line 349 of file utilities.cpp.

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

use this for all internal files

Definition at line 343 of file utilities.cpp.

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

use this for remote files

Definition at line 355 of file utilities.cpp.

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

use this for error on temporary files

Definition at line 361 of file utilities.cpp.

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

Definition at line 227 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 368 of file utilities.cpp.

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

Definition at line 211 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 285 of file utilities.cpp.

static QString KNHelper::rot13 ( const QString &  s  )  [static]

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

Definition at line 204 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

knode

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

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal