summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 96ed71a..31e9517 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -31,9 +31,9 @@ class KRecentFilesAction;
class KActionMenu;
class KDialogBase;
-class QCloseEvent;
-class QSplitter;
-class QListViewItem;
+class TQCloseEvent;
+class TQSplitter;
+class TQListViewItem;
namespace Tellico {
// forward declarations
@@ -72,6 +72,7 @@ namespace Tellico {
*/
class MainWindow : public KMainWindow, public ApplicationInterface {
Q_OBJECT
+ TQ_OBJECT
friend class Controller;
friend class DropHandler;
@@ -80,7 +81,7 @@ public:
/**
* The main window constructor, calls all init functions to create the application.
*/
- MainWindow(QWidget* parent=0, const char* name=0);
+ MainWindow(TQWidget* tqparent=0, const char* name=0);
/**
* Opens the initial file.
@@ -118,8 +119,8 @@ public:
/**
* Used by DCOP
*/
- virtual void openFile(const QString& file);
- virtual void setFilter(const QString& text);
+ virtual void openFile(const TQString& file);
+ virtual void setFilter(const TQString& text);
virtual bool showEntry(long id);
public slots:
@@ -219,8 +220,8 @@ public slots:
*
* @param text The text that is displayed in the statusbar
*/
- void slotStatusMsg(const QString& text);
- void slotClearStatus();
+ void slotStatusMsg(const TQString& text);
+ void slotCleartqStatus();
/**
* Shows the configuration window for the toolbars.
*/
@@ -298,7 +299,7 @@ public slots:
private:
/**
* Saves the general options like all toolbar positions and status as well as the
- * geometry and the recent file list to the configuration file.
+ * tqgeometry and the recent file list to the configuration file.
*/
void saveOptions();
/**
@@ -329,7 +330,7 @@ private:
/**
* Initiates shutdown
*/
-// void closeEvent(QCloseEvent *e);
+// void closeEvent(TQCloseEvent *e);
/**
* Saves the window properties for each open window during session end to the
* session config file, including saving the currently opened file by a temporary
@@ -375,7 +376,7 @@ private:
*
* @param html The HTML string representing the doc to print
*/
- void doPrint(const QString& html);
+ void doPrint(const TQString& html);
void XSLTError();
/**
@@ -497,9 +498,9 @@ private:
GUI::LineEdit* m_quickFilter;
// m_split is used between the stuff on the left and stuff on the right
- QSplitter* m_split;
+ TQSplitter* m_split;
// m_leftSplit is used between detailed view and entry view
- QSplitter* m_rightSplit;
+ TQSplitter* m_rightSplit;
Tellico::StatusBar* m_statusBar;
@@ -518,7 +519,7 @@ private:
FetchDialog* m_fetchDlg;
ReportDialog* m_reportDlg;
- QPtrList<KAction> m_fetchActions;
+ TQPtrList<KAction> m_fetchActions;
CollectionInterface m_collInterface;
// keep track of the number of queued filter updates