diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:12 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:12 -0600 |
commit | fd5d099065a748cac49e20a13481f85666c53c71 (patch) | |
tree | a0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /kmail/snippetwidget.h | |
parent | b440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff) | |
download | tdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kmail/snippetwidget.h')
-rw-r--r-- | kmail/snippetwidget.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/snippetwidget.h b/kmail/snippetwidget.h index 88a967194..8471f0556 100644 --- a/kmail/snippetwidget.h +++ b/kmail/snippetwidget.h @@ -26,7 +26,7 @@ class KDevProject; class SnippetPart; class TQPushButton; -class KListView; +class TDEListView; class TQListViewItem; class TQPoint; class SnippetDlg; @@ -34,21 +34,21 @@ class SnippetItem; class KTextEdit; class TDEConfig; class KMEdit; -class KActionCollection; +class TDEActionCollection; /** This is the widget which gets added to the right TreeToolView. -It inherits KListView and TQToolTip which is needed for showing the +It inherits TDEListView and TQToolTip which is needed for showing the tooltips which contains the text of the snippet @author Robert Gruber */ -class SnippetWidget : public KListView, public TQToolTip +class SnippetWidget : public TDEListView, public TQToolTip { Q_OBJECT public: - SnippetWidget(KMEdit* editor, KActionCollection* actionCollection, TQWidget* parent = 0); + SnippetWidget(KMEdit* editor, TDEActionCollection* actionCollection, TQWidget* parent = 0); ~SnippetWidget(); TQPtrList<SnippetItem> * getList() { return (&_list); } void writeConfig(); @@ -68,14 +68,14 @@ private: bool showMultiVarDialog(TQMap<TQString, TQString> * map, TQMap<TQString, TQString> * mapSave, int & iWidth, int & iBasicHeight, int & iOneHeight); TQString showSingleVarDialog(TQString var, TQMap<TQString, TQString> * mapSave, TQRect & dlgSize); - SnippetItem* makeItem( SnippetItem* parent, const TQString& name, const TQString& text, const KShortcut& shortcut ); + SnippetItem* makeItem( SnippetItem* parent, const TQString& name, const TQString& text, const TDEShortcut& shortcut ); TQPtrList<SnippetItem> _list; TQMap<TQString, TQString> _mapSaved; TDEConfig * _cfg; SnippetConfig _SnippetConfig; KMEdit* mEditor; - KActionCollection* mActionCollection; + TDEActionCollection* mActionCollection; public slots: void slotRemove(); |