summaryrefslogtreecommitdiffstats
path: root/src/htmlwidget.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 11:31:17 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 11:31:17 -0500
commitd598a49a3e1cadea0d72be28d147d219686413e7 (patch)
tree3111c0383d0b514f59aaeef0a2f656acc595fd8a /src/htmlwidget.h
parent56ffa61b35fc088a0e7e2aa885b9ffed82c8d8be (diff)
downloadknmap-d598a49a3e1cadea0d72be28d147d219686413e7.tar.gz
knmap-d598a49a3e1cadea0d72be28d147d219686413e7.zip
Convert to TDE R14 API
Diffstat (limited to 'src/htmlwidget.h')
-rw-r--r--src/htmlwidget.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/htmlwidget.h b/src/htmlwidget.h
index 996d63e..be0b5cc 100644
--- a/src/htmlwidget.h
+++ b/src/htmlwidget.h
@@ -27,8 +27,8 @@
# include <config.h>
#endif
-#include <qstringlist.h>
-#include <qwidget.h>
+#include <ntqstringlist.h>
+#include <ntqwidget.h>
#include <kurl.h>
#include "global.h"
@@ -36,21 +36,21 @@
// =========================
class KHTMLPart;
-class KProcess;
+class TDEProcess;
class StylesheetDialog;
// HTMLWidget class definition
// ===========================
-class HTMLWidget : public QWidget
+class HTMLWidget : public TQWidget
{ Q_OBJECT
public:
- HTMLWidget( QStringList* stylesheetURLs, QWidget* parent = NULL, const char* name = NULL );
+ HTMLWidget( TQStringList* stylesheetURLs, TQWidget* parent = NULL, const char* name = NULL );
virtual ~HTMLWidget( );
- void gotoAnchor( const QString& anchor );
+ void gotoAnchor( const TQString& anchor );
void loadManPage( const bool localManPage );
void readSettings( );
void saveSettings( );
@@ -62,32 +62,32 @@ class HTMLWidget : public QWidget
void zoomOut( );
signals:
- void errorLoadingLocalManPage( const QString& );
+ void errorLoadingLocalManPage( const TQString& );
void optionsDirty( );
private slots:
void slotGunzipProcessExited( );
- void slotGunzipReceivedStdout( KProcess* process, char* buffer, int buflen );
+ void slotGunzipReceivedStdout( TDEProcess* process, char* buffer, int buflen );
void slotMan2HTMLProcessExited( );
- void slotMan2HTMLReceivedStdout( KProcess* process, char* buffer, int buflen );
+ void slotMan2HTMLReceivedStdout( TDEProcess* process, char* buffer, int buflen );
void slotManProcessExited( );
- void slotManReceivedStdout( KProcess* process, char* buffer, int buflen );
+ void slotManReceivedStdout( TDEProcess* process, char* buffer, int buflen );
void slotStylesheetRemoved( );
private:
void loadKnmapManPage( );
void loadLocalManPage( );
- void resizeEvent( QResizeEvent* event );
+ void resizeEvent( TQResizeEvent* event );
bool tryKnmapFile( );
StylesheetDialog* m_dlg;
- QString m_htmlData;
+ TQString m_htmlData;
KHTMLPart* m_htmlPart;
- QString m_manPageData;
- QString m_manPagePath;
- KProcess* m_process;
+ TQString m_manPageData;
+ TQString m_manPagePath;
+ TDEProcess* m_process;
KURL m_stylesheetURL;
- QStringList* m_stylesheetURLs;
+ TQStringList* m_stylesheetURLs;
float m_zoomFactor;
static const float m_zoomIncrement;
};