diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 11:31:17 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 11:31:17 -0500 |
commit | d598a49a3e1cadea0d72be28d147d219686413e7 (patch) | |
tree | 3111c0383d0b514f59aaeef0a2f656acc595fd8a /src/mainwidget.h | |
parent | 56ffa61b35fc088a0e7e2aa885b9ffed82c8d8be (diff) | |
download | knmap-d598a49a3e1cadea0d72be28d147d219686413e7.tar.gz knmap-d598a49a3e1cadea0d72be28d147d219686413e7.zip |
Convert to TDE R14 API
Diffstat (limited to 'src/mainwidget.h')
-rw-r--r-- | src/mainwidget.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mainwidget.h b/src/mainwidget.h index 985a46c..a6b251a 100644 --- a/src/mainwidget.h +++ b/src/mainwidget.h @@ -27,8 +27,8 @@ # include <config.h> #endif -#include <qsplitter.h> -#include <qstringlist.h> +#include <ntqsplitter.h> +#include <ntqstringlist.h> #include "global.h" @@ -37,18 +37,18 @@ class HTMLWidget; class IndexWidget; -class KConfig; +class TDEConfig; class ScanStack; class ScanWidget; // MainWidget class definition // =========================== -class MainWidget : public QSplitter +class MainWidget : public TQSplitter { Q_OBJECT public: - MainWidget( QWidget* parent = NULL, const char* name = NULL ); + MainWidget( TQWidget* parent = NULL, const char* name = NULL ); bool isDirty( ) const { return m_dirty; } void readSettings( ); @@ -57,11 +57,11 @@ class MainWidget : public QSplitter bool wrapText( ) const { return m_wrapText; } signals: - void displayHelp( const QString& ); + void displayHelp( const TQString& ); void outputAvailable( const bool, const bool ); void setManPageActionStuff( const bool ); - void setCaption( const QString& ); - void statusBarText( const QString& ); + void setCaption( const TQString& ); + void statusBarText( const TQString& ); void visibleScanWidgetChanged( ScanWidget* ); public slots: @@ -77,7 +77,7 @@ class MainWidget : public QSplitter void slotScanDuplicate( ); void slotScanNew( ); void slotScanRename( ); - void slotScanRename( const QString& scanName ); + void slotScanRename( const TQString& scanName ); void slotShowManPage( ); void slotSwitchManPages( ); void slotSetStylesheet( ); @@ -88,14 +88,14 @@ class MainWidget : public QSplitter void slotZoomOut( ); private slots: - void slotDisplayHelp( const QString& anchor ); - void slotErrorLoadingLocalManPage( const QString& errorText ); + void slotDisplayHelp( const TQString& anchor ); + void slotErrorLoadingLocalManPage( const TQString& errorText ); void slotFinaliseInitialisation( ); void slotOptionsDirty( ); void slotVisibleScanWidgetChanged( ScanWidget* scanWidget ); private: - ScanWidget* createScan( const QString& scanName, const bool useTargetHost, const QString& profileName ); + ScanWidget* createScan( const TQString& scanName, const bool useTargetHost, const TQString& profileName ); void loadManPage( ); void setCaption( ScanWidget* scanWidget ); @@ -103,7 +103,7 @@ class MainWidget : public QSplitter HTMLWidget* m_htmlWidget; IndexWidget* m_indexWidget; ScanStack* m_scanStack; - QStringList m_stylesheetURLs; + TQStringList m_stylesheetURLs; bool m_useLocalManPage; bool m_wrapText; }; |