summaryrefslogtreecommitdiffstats
path: root/kghostview/displayoptions.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kghostview/displayoptions.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kghostview/displayoptions.h')
-rw-r--r--kghostview/displayoptions.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kghostview/displayoptions.h b/kghostview/displayoptions.h
index e929d8b7..8a19a812 100644
--- a/kghostview/displayoptions.h
+++ b/kghostview/displayoptions.h
@@ -17,8 +17,8 @@
*/
#ifndef DISPLAYOPTIONS_H
#define DISPLAYOPTIONS_H
-#include <qstring.h>
-#include <qvaluelist.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
#include "dscparse_adapter.h"
#include <kdemacros.h>
class KCmdLineArgs;
@@ -39,9 +39,9 @@ class KDE_EXPORT DisplayOptions
void setOverrideOrientation(CDSC_ORIENTATION_ENUM e) { _overrideOrientation = e; }
CDSC_ORIENTATION_ENUM overrideOrientation() const { return _overrideOrientation; }
- void restoreOverridePageMedia() { _overridePageMedia = QString::null; }
- void setOverridePageMedia(const QString& newMedia) { _overridePageMedia = newMedia; }
- const QString& overridePageMedia() const { return _overridePageMedia; }
+ void restoreOverridePageMedia() { _overridePageMedia = TQString::null; }
+ void setOverridePageMedia(const TQString& newMedia) { _overridePageMedia = newMedia; }
+ const TQString& overridePageMedia() const { return _overridePageMedia; }
/**
* The current page.
@@ -76,26 +76,26 @@ class KDE_EXPORT DisplayOptions
*
* \sa fromString
*/
- static QString toString( const DisplayOptions& );
+ static TQString toString( const DisplayOptions& );
/**
* Reads the display options from a string formatted by toString.
*
* \return true if the convertion succeeded.
*/
- static bool fromString( DisplayOptions&, const QString& );
+ static bool fromString( DisplayOptions&, const TQString& );
/**
* Returns a list of values that normally we can get through
* zoomIn() & zoomOut()
*/
- static QValueList<double> normalMagnificationValues();
+ static TQValueList<double> normalMagnificationValues();
private:
unsigned closestIndex() const;
CDSC_ORIENTATION_ENUM _overrideOrientation;
- QString _overridePageMedia;
+ TQString _overridePageMedia;
int _page;
double _magnification;
};
@@ -103,7 +103,7 @@ class KDE_EXPORT DisplayOptions
inline
DisplayOptions::DisplayOptions()
:_overrideOrientation( CDSC_ORIENT_UNKNOWN ),
- _overridePageMedia ( QString::null ),
+ _overridePageMedia ( TQString::null ),
_page( 0 )
{
setMagnification( 1.0 );