summaryrefslogtreecommitdiffstats
path: root/korganizer
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:28:10 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:28:10 +0000
commit1c3e6a878f147d063b43948dd8a3f06da195e7ea (patch)
tree3d0575a90e6b1c3cedb0c7b1d86970eb4ca92354 /korganizer
parent7be55ffa061c026e35e2d6a0effe1161ddb0d41f (diff)
downloadtdepim-1c3e6a878f147d063b43948dd8a3f06da195e7ea.tar.gz
tdepim-1c3e6a878f147d063b43948dd8a3f06da195e7ea.zip
TQt conversion fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1158452 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer')
-rw-r--r--korganizer/archivedialog.h6
-rw-r--r--korganizer/calendarview.h4
-rw-r--r--korganizer/datechecker.h2
-rw-r--r--korganizer/filtereditdialog.h2
-rw-r--r--korganizer/importdialog.h2
-rw-r--r--korganizer/interfaces/korganizer/incidencechangerbase.h2
-rw-r--r--korganizer/journalentry.h8
-rw-r--r--korganizer/kdatenavigator.h4
-rw-r--r--korganizer/koagenda.h6
-rw-r--r--korganizer/koagendaitem.h6
-rw-r--r--korganizer/koagendaview.h6
-rw-r--r--korganizer/koattendeeeditor.h12
-rw-r--r--korganizer/kodaymatrix.h8
-rw-r--r--korganizer/koeditorattachments.h8
-rw-r--r--korganizer/koeditordetails.h12
-rw-r--r--korganizer/koeditorfreebusy.h2
-rw-r--r--korganizer/koeditorgeneral.h18
-rw-r--r--korganizer/koeditorgeneralevent.h8
-rw-r--r--korganizer/koeditorgeneraljournal.h10
-rw-r--r--korganizer/koeditorrecurrence.h10
-rw-r--r--korganizer/koeventview.h2
-rw-r--r--korganizer/koglobals.h4
-rw-r--r--korganizer/koincidenceeditor.h2
-rw-r--r--korganizer/kojournaleditor.h2
-rw-r--r--korganizer/kojournalview.h4
-rw-r--r--korganizer/koprefs.h6
-rw-r--r--korganizer/koprefsdialog.h12
-rw-r--r--korganizer/korgac/alarmdialog.h2
-rw-r--r--korganizer/kotodoeditor.h2
-rw-r--r--korganizer/kotodoview.h10
-rw-r--r--korganizer/koviewmanager.h4
-rw-r--r--korganizer/kowhatsnextview.h2
-rw-r--r--korganizer/multiagendaview.h8
-rw-r--r--korganizer/navigatorbar.h4
-rw-r--r--korganizer/plugins/datenums/configdialog.h2
-rw-r--r--korganizer/plugins/exchange/exchangedialog.h2
-rw-r--r--korganizer/plugins/projectview/koprojectview.cpp2
-rw-r--r--korganizer/plugins/projectview/koprojectview.h14
-rw-r--r--korganizer/plugins/timespanview/timespanwidget.h4
-rw-r--r--korganizer/printing/calprinter.h8
-rw-r--r--korganizer/printing/calprintpluginbase.h2
-rw-r--r--korganizer/resourceview.h2
-rw-r--r--korganizer/searchdialog.h6
-rw-r--r--korganizer/statusdialog.h2
-rw-r--r--korganizer/timelabels.h6
45 files changed, 125 insertions, 125 deletions
diff --git a/korganizer/archivedialog.h b/korganizer/archivedialog.h
index 39a625cbf..011e213f3 100644
--- a/korganizer/archivedialog.h
+++ b/korganizer/archivedialog.h
@@ -26,12 +26,12 @@
#include <kdialogbase.h>
-class QRadioButton;
-class QComboBox;
+class TQRadioButton;
+class TQComboBox;
class KIntNumInput;
class KURLRequester;
class KDateEdit;
-class QCheckBox;
+class TQCheckBox;
namespace KCal {
class Calendar;
diff --git a/korganizer/calendarview.h b/korganizer/calendarview.h
index a3e9a9ab3..dfcc75ef3 100644
--- a/korganizer/calendarview.h
+++ b/korganizer/calendarview.h
@@ -35,8 +35,8 @@
#include <korganizer/calendarviewbase.h>
-class QWidgetStack;
-class QSplitter;
+class TQWidgetStack;
+class TQSplitter;
class KOViewManager;
class KODialogManager;
diff --git a/korganizer/datechecker.h b/korganizer/datechecker.h
index 4866faf8a..28ae29548 100644
--- a/korganizer/datechecker.h
+++ b/korganizer/datechecker.h
@@ -28,7 +28,7 @@
#include <tqobject.h>
#include <tqdatetime.h>
-class QTimer;
+class TQTimer;
class KCalendarSystem;
diff --git a/korganizer/filtereditdialog.h b/korganizer/filtereditdialog.h
index b726e169f..8527fd0b9 100644
--- a/korganizer/filtereditdialog.h
+++ b/korganizer/filtereditdialog.h
@@ -29,7 +29,7 @@
#include "filteredit_base.h"
class FilterEdit;
-template<class type> class QPtrList;
+template<class type> class TQPtrList;
namespace KPIM { class CategorySelectDialog; }
namespace KCal { class CalFilter; }
diff --git a/korganizer/importdialog.h b/korganizer/importdialog.h
index f2cf436a4..ae92ae0b6 100644
--- a/korganizer/importdialog.h
+++ b/korganizer/importdialog.h
@@ -30,7 +30,7 @@
#include <kurl.h>
-class QRadioButton;
+class TQRadioButton;
class ImportDialog : public KDialogBase
{
diff --git a/korganizer/interfaces/korganizer/incidencechangerbase.h b/korganizer/interfaces/korganizer/incidencechangerbase.h
index 9deb87642..f482388c5 100644
--- a/korganizer/interfaces/korganizer/incidencechangerbase.h
+++ b/korganizer/interfaces/korganizer/incidencechangerbase.h
@@ -24,7 +24,7 @@
#include <libkcal/scheduler.h>
#include <tqobject.h>
-class QWidget;
+class TQWidget;
namespace KCal {
class Calendar;
class Incidence;
diff --git a/korganizer/journalentry.h b/korganizer/journalentry.h
index 02e85e1e5..090909f39 100644
--- a/korganizer/journalentry.h
+++ b/korganizer/journalentry.h
@@ -28,14 +28,14 @@
#include <tqvbox.h>
-class QLabel;
+class TQLabel;
class KActiveLabel;
-class QCheckBox;
-class QGridLayout;
+class TQCheckBox;
+class TQGridLayout;
class KLineEdit;
class KTextEdit;
class KTimeEdit;
-class QButton;
+class TQButton;
namespace KOrg {
class IncidenceChangerBase;
}
diff --git a/korganizer/kdatenavigator.h b/korganizer/kdatenavigator.h
index 07e85c2d5..047925895 100644
--- a/korganizer/kdatenavigator.h
+++ b/korganizer/kdatenavigator.h
@@ -30,8 +30,8 @@
#include <libkcal/incidencebase.h>
-class QPushButton;
-class QLabel;
+class TQPushButton;
+class TQLabel;
namespace KCal {
class Calendar;
diff --git a/korganizer/koagenda.h b/korganizer/koagenda.h
index 0b0d06986..a6d06d006 100644
--- a/korganizer/koagenda.h
+++ b/korganizer/koagenda.h
@@ -30,9 +30,9 @@
#include <libkcal/incidencebase.h>
-class QPopupMenu;
-class QTime;
-class QLabel;
+class TQPopupMenu;
+class TQTime;
+class TQLabel;
class KConfig;
class KOAgenda;
class KOAgendaItem;
diff --git a/korganizer/koagendaitem.h b/korganizer/koagendaitem.h
index 39a71e7ee..fc774dd1f 100644
--- a/korganizer/koagendaitem.h
+++ b/korganizer/koagendaitem.h
@@ -29,9 +29,9 @@
#include <tqdatetime.h>
-class QToolTipGroup;
-class QDragEnterEvent;
-class QDropEvent;
+class TQToolTipGroup;
+class TQDragEnterEvent;
+class TQDropEvent;
namespace KCal {
class Incidence;
diff --git a/korganizer/koagendaview.h b/korganizer/koagendaview.h
index c1434dc1d..1a16b2bb7 100644
--- a/korganizer/koagendaview.h
+++ b/korganizer/koagendaview.h
@@ -34,9 +34,9 @@
#include "agendaview.h"
-class QHBox;
-class QPushButton;
-class QBoxLayout;
+class TQHBox;
+class TQPushButton;
+class TQBoxLayout;
class KOAgenda;
class KOAgendaItem;
diff --git a/korganizer/koattendeeeditor.h b/korganizer/koattendeeeditor.h
index 0641748f6..5f1dfb977 100644
--- a/korganizer/koattendeeeditor.h
+++ b/korganizer/koattendeeeditor.h
@@ -24,12 +24,12 @@
#include <tqwidget.h>
#include <libkcal/attendee.h>
-class QBoxLayout;
-class QComboBox;
-class QCheckBox;
-class QLabel;
-class QPushButton;
-class QHBox;
+class TQBoxLayout;
+class TQComboBox;
+class TQCheckBox;
+class TQLabel;
+class TQPushButton;
+class TQHBox;
namespace KPIM {
class AddresseeLineEdit;
diff --git a/korganizer/kodaymatrix.h b/korganizer/kodaymatrix.h
index 60c2e3ced..7dcf830e1 100644
--- a/korganizer/kodaymatrix.h
+++ b/korganizer/kodaymatrix.h
@@ -34,10 +34,10 @@
#include <tqtooltip.h>
#include <tqmap.h>
-class QDragEnterEvent;
-class QDragMoveEvent;
-class QDragLeaveEvent;
-class QDropEvent;
+class TQDragEnterEvent;
+class TQDragMoveEvent;
+class TQDragLeaveEvent;
+class TQDropEvent;
class KODayMatrix;
diff --git a/korganizer/koeditorattachments.h b/korganizer/koeditorattachments.h
index 11dd7e8d4..09b2c48ea 100644
--- a/korganizer/koeditorattachments.h
+++ b/korganizer/koeditorattachments.h
@@ -33,11 +33,11 @@ class Incidence;
class Attachment;
}
-class QIconViewItem;
+class TQIconViewItem;
class AttachmentIconView;
-class QMimeSource;
-class QPushButton;
-class QPopupMenu;
+class TQMimeSource;
+class TQPushButton;
+class TQPopupMenu;
class KAction;
class KOEditorAttachments : public QWidget
diff --git a/korganizer/koeditordetails.h b/korganizer/koeditordetails.h
index 7d122244b..92a271644 100644
--- a/korganizer/koeditordetails.h
+++ b/korganizer/koeditordetails.h
@@ -30,12 +30,12 @@
#include <libkcal/attendee.h>
-class QPushButton;
-class QCheckBox;
-class QLineEdit;
-class QLabel;
-class QComboBox;
-class QHBox;
+class TQPushButton;
+class TQCheckBox;
+class TQLineEdit;
+class TQLabel;
+class TQComboBox;
+class TQHBox;
class KDateEdit;
class KOEditorFreeBusy;
diff --git a/korganizer/koeditorfreebusy.h b/korganizer/koeditorfreebusy.h
index 854bc1126..4e561cfa2 100644
--- a/korganizer/koeditorfreebusy.h
+++ b/korganizer/koeditorfreebusy.h
@@ -31,7 +31,7 @@
#include <tqtimer.h>
class KDIntervalColorRectangle;
-class QLabel;
+class TQLabel;
class KDGanttView;
class KDGanttViewItem;
class FreeBusyItem;
diff --git a/korganizer/koeditorgeneral.h b/korganizer/koeditorgeneral.h
index c2d1867b9..b1fffc26c 100644
--- a/korganizer/koeditorgeneral.h
+++ b/korganizer/koeditorgeneral.h
@@ -26,15 +26,15 @@
#include <libkcal/alarm.h>
#include <tqlineedit.h>
-class QWidget;
-class QBoxLayout;
-class QLineEdit;
-class QLabel;
-class QCheckBox;
-class QWidgetStack;
-class QSpinBox;
-class QPushButton;
-class QComboBox;
+class TQWidget;
+class TQBoxLayout;
+class TQLineEdit;
+class TQLabel;
+class TQCheckBox;
+class TQWidgetStack;
+class TQSpinBox;
+class TQPushButton;
+class TQComboBox;
class KTextEdit;
class KSqueezedTextLabel;
class KURL;
diff --git a/korganizer/koeditorgeneralevent.h b/korganizer/koeditorgeneralevent.h
index 21a7dfc4d..a13fa47c6 100644
--- a/korganizer/koeditorgeneralevent.h
+++ b/korganizer/koeditorgeneralevent.h
@@ -27,12 +27,12 @@
#include "koeditorgeneral.h"
#include <tqdatetime.h>
-class QLabel;
+class TQLabel;
class KDateEdit;
class KTimeEdit;
-class QCheckBox;
-class QComboBox;
-class QBoxLayout;
+class TQCheckBox;
+class TQComboBox;
+class TQBoxLayout;
namespace KCal {
class Event;
diff --git a/korganizer/koeditorgeneraljournal.h b/korganizer/koeditorgeneraljournal.h
index a2645c221..28827c8c8 100644
--- a/korganizer/koeditorgeneraljournal.h
+++ b/korganizer/koeditorgeneraljournal.h
@@ -31,11 +31,11 @@
class KDateEdit;
class KTimeEdit;
class KTextEdit;
-class QLineEdit;
-class QLabel;
-class QBoxLayout;
-class QCheckBox;
-class QWidget;
+class TQLineEdit;
+class TQLabel;
+class TQBoxLayout;
+class TQCheckBox;
+class TQWidget;
namespace KCal {
class Incidence;
diff --git a/korganizer/koeditorrecurrence.h b/korganizer/koeditorrecurrence.h
index 5b900330d..0ce9c6dda 100644
--- a/korganizer/koeditorrecurrence.h
+++ b/korganizer/koeditorrecurrence.h
@@ -32,11 +32,11 @@
#include <libkcal/incidencebase.h>
-class QWidgetStack;
-class QSpinBox;
-class QRadioButton;
-class QGroupBox;
-class QCheckBox;
+class TQWidgetStack;
+class TQSpinBox;
+class TQRadioButton;
+class TQGroupBox;
+class TQCheckBox;
class KDateEdit;
namespace KCal {
diff --git a/korganizer/koeventview.h b/korganizer/koeventview.h
index 23d1bc441..c33348813 100644
--- a/korganizer/koeventview.h
+++ b/korganizer/koeventview.h
@@ -36,7 +36,7 @@ class Incidence;
using namespace KCal;
class KOEventPopupMenu;
-class QPopupMenu;
+class TQPopupMenu;
/**
KOEventView is the abstract base class from which all other
diff --git a/korganizer/koglobals.h b/korganizer/koglobals.h
index 88435d4cd..771588101 100644
--- a/korganizer/koglobals.h
+++ b/korganizer/koglobals.h
@@ -25,8 +25,8 @@
#include <kdepimmacros.h>
-class QPixmap;
-class QIconSet;
+class TQPixmap;
+class TQIconSet;
class KCalendarSystem;
class AlarmClient;
diff --git a/korganizer/koincidenceeditor.h b/korganizer/koincidenceeditor.h
index 3440a35b2..35c4c45ba 100644
--- a/korganizer/koincidenceeditor.h
+++ b/korganizer/koincidenceeditor.h
@@ -28,7 +28,7 @@
#include <kdialogbase.h>
#include <kurl.h>
-class QDateTime;
+class TQDateTime;
namespace KPIM {
class CategorySelectDialog;
diff --git a/korganizer/kojournaleditor.h b/korganizer/kojournaleditor.h
index 7d102769e..75edb1829 100644
--- a/korganizer/kojournaleditor.h
+++ b/korganizer/kojournaleditor.h
@@ -30,7 +30,7 @@
#include <tqdatetime.h>
-class QDateTime;
+class TQDateTime;
namespace KCal {
class Calendar;
class Journal;
diff --git a/korganizer/kojournalview.h b/korganizer/kojournalview.h
index 3e48dd710..9af95537e 100644
--- a/korganizer/kojournalview.h
+++ b/korganizer/kojournalview.h
@@ -28,8 +28,8 @@
#include "journalentry.h"
class JournalEntry;
-class QScrollView;
-class QVBox;
+class TQScrollView;
+class TQVBox;
/**
* This class provides a journal view.
diff --git a/korganizer/koprefs.h b/korganizer/koprefs.h
index c65382f5d..48a42cbd5 100644
--- a/korganizer/koprefs.h
+++ b/korganizer/koprefs.h
@@ -31,9 +31,9 @@
#include "koprefs_base.h"
class KConfig;
-class QFont;
-class QColor;
-class QStringList;
+class TQFont;
+class TQColor;
+class TQStringList;
TQColor getTextColor(const TQColor &c);
diff --git a/korganizer/koprefsdialog.h b/korganizer/koprefsdialog.h
index b412fff7e..8be91a821 100644
--- a/korganizer/koprefsdialog.h
+++ b/korganizer/koprefsdialog.h
@@ -29,14 +29,14 @@
#include <tqdict.h>
-class QLineEdit;
-class QLabel;
-class QSpinBox;
-class QComboBox;
+class TQLineEdit;
+class TQLabel;
+class TQSpinBox;
+class TQComboBox;
class KColorButton;
class KPushButton;
-class QColor;
-class QListView;
+class TQColor;
+class TQListView;
class KDE_EXPORT KOPrefsDialogMain : public KPrefsModule
{
diff --git a/korganizer/korgac/alarmdialog.h b/korganizer/korgac/alarmdialog.h
index 711a47bd6..4c2162a54 100644
--- a/korganizer/korgac/alarmdialog.h
+++ b/korganizer/korgac/alarmdialog.h
@@ -36,7 +36,7 @@
using namespace KCal;
class KOEventViewer;
-class QSpinBox;
+class TQSpinBox;
class KComboBox;
class KListView;
class AlarmListItem;
diff --git a/korganizer/kotodoeditor.h b/korganizer/kotodoeditor.h
index 2abaa9e51..3b6df5b38 100644
--- a/korganizer/kotodoeditor.h
+++ b/korganizer/kotodoeditor.h
@@ -28,7 +28,7 @@
#include "koincidenceeditor.h"
-class QDateTime;
+class TQDateTime;
class KOEditorGeneralTodo;
class KOEditorRecurrence;
/**
diff --git a/korganizer/kotodoview.h b/korganizer/kotodoview.h
index 881d92358..7deaafded 100644
--- a/korganizer/kotodoview.h
+++ b/korganizer/kotodoview.h
@@ -33,11 +33,11 @@
#include <libkcal/todo.h>
#include <korganizer/baseview.h>
-class QDragEnterEvent;
-class QDragMoveEvent;
-class QDragLeaveEvent;
-class QDropEvent;
-class QPopupMenu;
+class TQDragEnterEvent;
+class TQDragMoveEvent;
+class TQDragLeaveEvent;
+class TQDropEvent;
+class TQPopupMenu;
class KOTodoListView;
class KOTodoViewItem;
diff --git a/korganizer/koviewmanager.h b/korganizer/koviewmanager.h
index 58faf6369..32c55c3d4 100644
--- a/korganizer/koviewmanager.h
+++ b/korganizer/koviewmanager.h
@@ -26,8 +26,8 @@
#define KOVIEWMANAGER_H
#include <tqobject.h>
-class QWidget;
-class QTabWidget;
+class TQWidget;
+class TQTabWidget;
class CalendarView;
diff --git a/korganizer/kowhatsnextview.h b/korganizer/kowhatsnextview.h
index 54daf616c..6f49ab2b1 100644
--- a/korganizer/kowhatsnextview.h
+++ b/korganizer/kowhatsnextview.h
@@ -28,7 +28,7 @@
#include <korganizer/baseview.h>
-class QListView;
+class TQListView;
class KOEventViewerDialog;
diff --git a/korganizer/multiagendaview.h b/korganizer/multiagendaview.h
index 01b74ce74..d7316698d 100644
--- a/korganizer/multiagendaview.h
+++ b/korganizer/multiagendaview.h
@@ -21,12 +21,12 @@
#include "agendaview.h"
-class QScrollView;
-class QHBox;
-class QSplitter;
+class TQScrollView;
+class TQHBox;
+class TQSplitter;
class KOAgendaView;
class TimeLabels;
-class QScrollBar;
+class TQScrollBar;
namespace KCal {
class ResourceCalendar;
diff --git a/korganizer/navigatorbar.h b/korganizer/navigatorbar.h
index 88dfeeff5..c6bc41768 100644
--- a/korganizer/navigatorbar.h
+++ b/korganizer/navigatorbar.h
@@ -28,8 +28,8 @@
#include <tqlabel.h>
-class QPushButton;
-class QFrame;
+class TQPushButton;
+class TQFrame;
class ActiveLabel : public QLabel
{
diff --git a/korganizer/plugins/datenums/configdialog.h b/korganizer/plugins/datenums/configdialog.h
index cef3e013b..992eeccce 100644
--- a/korganizer/plugins/datenums/configdialog.h
+++ b/korganizer/plugins/datenums/configdialog.h
@@ -21,7 +21,7 @@
#include <kdialogbase.h>
-class QButtonGroup;
+class TQButtonGroup;
class ConfigDialog : public KDialogBase
{
diff --git a/korganizer/plugins/exchange/exchangedialog.h b/korganizer/plugins/exchange/exchangedialog.h
index bd0e2f26a..b2635f7ab 100644
--- a/korganizer/plugins/exchange/exchangedialog.h
+++ b/korganizer/plugins/exchange/exchangedialog.h
@@ -22,7 +22,7 @@
#include <kdialogbase.h>
#include <kdatewidget.h>
-class QComboBox;
+class TQComboBox;
class ExchangeDialog : public KDialogBase
{
diff --git a/korganizer/plugins/projectview/koprojectview.cpp b/korganizer/plugins/projectview/koprojectview.cpp
index 6c448b371..6c45ff424 100644
--- a/korganizer/plugins/projectview/koprojectview.cpp
+++ b/korganizer/plugins/projectview/koprojectview.cpp
@@ -70,7 +70,7 @@ KOProjectView::KOProjectView(Calendar *calendar,TQWidget* parent,
{
TQBoxLayout *topLayout = new TQVBoxLayout(this);
- TQBoxLayout *topBar = new QHBoxLayout;
+ TQBoxLayout *topBar = new TQHBoxLayout;
topLayout->addLayout(topBar);
TQLabel *title = new TQLabel(i18n("Project View"),this);
diff --git a/korganizer/plugins/projectview/koprojectview.h b/korganizer/plugins/projectview/koprojectview.h
index 4d2d8226c..aa856621a 100644
--- a/korganizer/plugins/projectview/koprojectview.h
+++ b/korganizer/plugins/projectview/koprojectview.h
@@ -32,13 +32,13 @@
#include "KGanttItem.h"
class KGantt;
-class QLineEdit;
-class QFont;
-class QLabel;
-class QPopupMenu;
-class QListBox;
-class QStrList;
-class QListView;
+class TQLineEdit;
+class TQFont;
+class TQLabel;
+class TQPopupMenu;
+class TQListBox;
+class TQStrList;
+class TQListView;
/**
This class provides an item of the project view. It is a xQTask with
diff --git a/korganizer/plugins/timespanview/timespanwidget.h b/korganizer/plugins/timespanview/timespanwidget.h
index 38cdea6c8..fa0378721 100644
--- a/korganizer/plugins/timespanview/timespanwidget.h
+++ b/korganizer/plugins/timespanview/timespanwidget.h
@@ -30,8 +30,8 @@ namespace KCal {
class Event;
}
-class QSplitter;
-class QListView;
+class TQSplitter;
+class TQListView;
class LineView;
class TimeLine;
diff --git a/korganizer/printing/calprinter.h b/korganizer/printing/calprinter.h
index a1cea6a24..a75d3fc69 100644
--- a/korganizer/printing/calprinter.h
+++ b/korganizer/printing/calprinter.h
@@ -38,12 +38,12 @@ class CoreHelper;
}
using namespace KCal;
-class QVButtonGroup;
-class QWidgetStack;
+class TQVButtonGroup;
+class TQWidgetStack;
class CalPrintDialog;
class KConfig;
-class QComboBox;
-class QLabel;
+class TQComboBox;
+class TQLabel;
/**
CalPrinter is a class for printing Calendars. It can print in several
diff --git a/korganizer/printing/calprintpluginbase.h b/korganizer/printing/calprintpluginbase.h
index 226998f85..16a3374d2 100644
--- a/korganizer/printing/calprintpluginbase.h
+++ b/korganizer/printing/calprintpluginbase.h
@@ -40,7 +40,7 @@
class PrintCellItem;
-class QWidget;
+class TQWidget;
using namespace KCal;
diff --git a/korganizer/resourceview.h b/korganizer/resourceview.h
index 932c81885..f34d0cf22 100644
--- a/korganizer/resourceview.h
+++ b/korganizer/resourceview.h
@@ -36,7 +36,7 @@ class CalendarResources;
using namespace KCal;
class KListView;
class ResourceView;
-class QPushButton;
+class TQPushButton;
class ResourceViewFactory : public CalendarViewExtension::Factory
{
diff --git a/korganizer/searchdialog.h b/korganizer/searchdialog.h
index c8ba4dea8..cd535bd10 100644
--- a/korganizer/searchdialog.h
+++ b/korganizer/searchdialog.h
@@ -36,9 +36,9 @@ namespace KCal {
class Calendar;
}
class KDateEdit;
-class QCheckBox;
-class QLineEdit;
-class QLabel;
+class TQCheckBox;
+class TQLineEdit;
+class TQLabel;
class KOListView;
using namespace KCal;
diff --git a/korganizer/statusdialog.h b/korganizer/statusdialog.h
index e0bcb4478..d97c1ac20 100644
--- a/korganizer/statusdialog.h
+++ b/korganizer/statusdialog.h
@@ -24,7 +24,7 @@
#include <libkcal/attendee.h>
using namespace KCal;
-class QComboBox;
+class TQComboBox;
class StatusDialog : public KDialog
{
diff --git a/korganizer/timelabels.h b/korganizer/timelabels.h
index 84ea5473b..63881c4e1 100644
--- a/korganizer/timelabels.h
+++ b/korganizer/timelabels.h
@@ -28,9 +28,9 @@
#include <tqscrollview.h>
#include <tqlabel.h>
-class QHBox;
-class QPushButton;
-class QBoxLayout;
+class TQHBox;
+class TQPushButton;
+class TQBoxLayout;
class KOAgenda;
class KOAgendaItem;